Search Engines still suck!

2004-04-04

Searching for development information on the net still sucks. I run into this several times a month. Maybe I just don't know how to search well but while I assume the answer is somewhere I seem to almost never be able to find it.

For example, I need to know how to convert a unicode string to shift−jis in Javascript/JScript. Since the code is running locally I don't mind if it's IE/Windows specific. So far I have not found an answer after 3 hours of searching.

I also need to know how to prevent IE from entifying the codes. What I mean by that is currently, internally it's storing 2 unicode code points, both > 8 bit. When it sends them to the form I'm trying to deal with it turns them into entities like &54321;&51234; instead of leaving them as and escaping them as in %D4%31%%C8%22 which is what I need to send to the server in question. Trying to search for how to handle that also no luck.

My understanding is that local JScript code can call into the Windows API. If I could do that I might be able to use the Windows API to convert from unicode to shift−jis. I don't remember how to do this and so far after hours of searching I have not found an example.

It's very frustrating, probably specifically because the answer has to be there somewhere. Somebody knows the answer. If I could actually find those answers I could get my job done at least 25% faster it feels like.

When some company makes a search engine that finds those answers they'll put google out of business.

Comments
It feels good to snuggle
Sony NV-XYZ 77