BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
DBGoogle.lang
Talkback
 Go back to the DBGoogle.lang page
 Post a new Talkback comment!
Suggestions to enable search in JP
 By Kokito - Posted on November 28, 2003 - 19:19:02   (#9788)
 Current version when comment was posted: 0.1.1
Here is a suggestion from one of our JPBE.net members to fix DBGoogle so that it can be used with Japanese.

*********
Under "GoogleIcon.cpp", "TrayView::MessageReceived(BMessage* message)" converts the text into hexadecimals using "char", which means that everything above 0x80 becomes a minus value. So, to start with, change "char" to "uchar". Then, "text" is defined as "const char*", but it should be "const uchar*" instead.

Also use: url.Append("http://www.google.com/search?hl=ja&q=");

Adding "&lr=lang_ja" as shown above will use www.google.co.jp (which is desired for search in Japanase).

*********

The above changes should enable search in Japanese. We would be glad to test for you if you out out a new release with the suggested changes.

Koki


Japanese
 By ljr - Posted on November 23, 2003 - 12:55:19   (#9725)
 Current version when comment was posted: 0.1.1
As i dont have jananese fonts on my system (i will not be very useful to me ;-)), i build another version with particular url for japanese google site.

Try it (new build @ http://beosland.free.fr/archives/DBGoogle) and tell me if it's better... The difference is that utf8 set in url....

Japanese doesn't work
 By timkoh - Posted on November 14, 2003 - 10:00:12   (#9633)
 Current version when comment was posted: 0.1.1
Hiya,
I tried the Japanese locale for DBGoogle and found that it doesn't copy the Japanese characters properly to the google search field. Instead of searching what i typed in Japanese, it just searches for "?FFFF?FFFF?FFFF?FFFF?FFFF?FFFF" which doesn't return me anything but websits with alot of f's in it.

It seems to search the same F string no matter what i type (in Japanese) in DBGoogle.

Can you fix this bug so the Japanese locale is usable for searching in Japanese?

Thanks.
Tim.

JA
 By ljr - Posted on November 13, 2003 - 18:12:48   (#9629)
 Current version when comment was posted: 0.1.1
Japanese added in last version.
Maybe the google URL should managed the codepage also... reports any problem.

add..
 By sena - Posted on November 11, 2003 - 12:23:34   (#9593)
 Current version when comment was posted: 0.1.0-lang
add Japanese. please

 
The Green Board
  Recent Downloads  -  # 580
Total Downloads  -  # 2,658
Total Views  -  # 2,340
User Ratings  -  N/A
  Geek Toys
Network Utilities
1.  BePodder - 9.80
2.  QEMU - 9.68
3.  ScummVM - 9.57
4.  Jukebox - 9.44
5.  Haiku AGP busm... - 9.35
6.  cpu_fix - 9.31
7.  vim6 - 9.31
8.  VNCServer - 9.30
9.  Beezer - 9.26
10.  HandBrake - 9.25
1.  Ati Radeon G... - 32,893
2.  BeOS 5 Perso... - 32,463
3.  Realtek RTL8... - 20,354
4.  Ensoniq Audi... - 17,699
5.  USB Joystick... - 16,559
6.  BePDF - 15,354
7.  ATI Rage 128... - 13,355
8.  S3 Trio 64 v... - 10,307
9.  VLC Media Pla... - 9,562
10.  DOSBox - 9,477
You are not logged in.
 Login

 
Unless otherwise noted, everything is copyright © 1999-2011 Haikuware. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.