![]() |
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." |
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 |
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 |
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 02:15 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.