Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   Searching in multi-byte languages (Japanese, Korean) (https://www.gnutellaforums.com/general-discussion/17137-searching-multi-byte-languages-japanese-korean.html)

Unregistered November 11th, 2002 10:40 PM

Searching in multi-byte languages (Japanese, Korean)
 
Just a question though: Is there ever going to be searching in other languages like Japanese and Korean? I mean, right now I "can" search by typing in those languages to search, but the results do not even come close (I get results in english only).

SO I think an option should be added to select filename encoding.

P.S Displaying results that do come back n another language just look "messed up."

GregorK November 12th, 2002 01:11 AM

The Gnutella protocol currently dosent support different encodings. I can't send search requests with different encodings because other peers dont understand them and wont send me right results back for it.
This would need a gnutella protocol change.

Gregor

Unregistered November 12th, 2002 08:13 AM

if gnutella 0.6 protocol handles only iso-latin 1 encoding.

multibyte characters emulation

phex search field : utf-8
convert from utf-8 to non lossy-ascii encoding
search command send : non lossy-ascii
search result recieve : iso-latin 1
convert from non lossy ascii to utf-8
display : utf-8

Unregistered November 24th, 2002 10:02 PM

support 2byte characters
 
Being thought as evasion step the character string which is converted
as the ISO-8856-1 code prepare the function which is converted to the
correct character string.
this is sample code.

public static String raw2String(String raw, String encoding)
throws UnsupportedEncodingException {

return (new String(raw.getBytes("8859_1"), encoding));
}


All times are GMT -7. The time now is 07:17 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.