Unicode Support For Searchbar

Hello,

I've found out tha Searchbar cannnot properly make a search with Chinese keywords, and it cannot display chinese characters,too.

I suggest the devloper of this desklet could use the Unicode for sending the keyword to Google, and also receiving/displaying the result by using Unicode.

That way, this could be the best Desklet for all countries's User :woot:

Thanks.

Dino Cho

post-4754-1093183339_thumb.png

seachbar.PNG
seachbar.PNG

#205636

where did you get that skin?

#205663

yeah, unicode support would be awsome... also, the first search result brings me to the google page, not to the first post's url.

#205677

Darn, I completely did everything in UNICODE, but Google is returning a non UNICODE page >.<.

Anyhow, will fix this with the next update, which also fix other known problems and add some more stuff. Exams are my top priority at the moment tho.

#205681

Good luck on your exams sure you will pass with a high score.

#205682

Originally posted by Ghostwalker@Aug 22 2004, 03:56 PM

Good luck on your exams sure you will pass with a high score.

<{POST_SNAPBACK}>

yeah! Wish you could get a high score for you exam!

then... Fix the problem :P

#205689

Originally posted by AndreasV@Aug 22 2004, 05:47 PM

Darn, I completely did everything in UNICODE, but Google is returning a non UNICODE page >.<.

Anyhow, will fix this with the next update, which also fix other known problems and add some more stuff. Exams are my top priority at the moment tho.

<{POST_SNAPBACK}>

Depends - all MS internet access stuff returns UTF-8 (packed in 8bit), while the

_UNICODE only defines all APIs to use UTF-16 (16bit).

You'll have to do some conversions from UTF-8 to UTF-16 before using the wide

APIs of DrawText etc.

#205707

See the difference:

http://www.google.com/search?hl=nl&ie=UTF-8&q=blah&lr=

http://www.google.com/search?hl=nl&ie=UNICODE&q=blah&lr=

BTW, I'm using std::wstringstream and std::wstring for UNICODE strings, not the C equivalents.

#205741