|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
New Feature Requests Your idea for a cool new feature. Or, a LimeWire annoyance that has to get changed. |
| LinkBack | Thread Tools | Display Modes |
| |||
The problem is solved - half of it, that is. UTF-8 has been accepted for the 0.7 proposal. Any language can be described by it. Now you just need a client that fully implements this proposal, and a computer with your desired default system locale, or a smart client that accepts any character in the UNICODE range. Just returning specific language servers for a specific language query isn't very desirable and anyway impossible to implement: You would need to explicitly specify the language of a file. This is bothersome, unnecessarily restrictive (think of a word which is written with the same Chinese characters in Korean, Chinese and Japanese) and much too complicated to implement. Also, what would you do with servers which offer mixed language files? The problem is solved, with the 0.7 proposal. Now it depends on the clients. |
| |||
Another solution 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)); } |
| |||
It is the processing where the program below at a time one character fetches character from String and transfers to doSomething method. this is sample. For support Limewire to UNICODE dynamic composition. public static void doSomethingPerCharacter(String string) { BreakIterator boundary = BreakIterator.getCharacterInstance(); boundary.setText(string); int start = boundary.first(); for (int end = boundary.next(); end != BreakIterator.DONE; start = end, end = boundary.next()) { String c = String.substring(start, end); doSomething(c); } } |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
why Turkish Language not inside of Language options? | WhyWhy | Deutsch | 18 | October 21st, 2010 09:38 AM |
Lime wire support??? What support? | ticked | Open Discussion topics | 2 | May 15th, 2007 04:13 PM |
linux specific fixes - amaroK support, better looking themes, and XGL/COMPIZ support | baldy1324 | New Feature Requests | 0 | May 25th, 2006 03:12 PM |
LW Pro Support | timmy_t03 | Connection Problems | 0 | October 17th, 2004 01:32 PM |
language support | JackDCLee | General Gnutella / Gnutella Network Discussion | 0 | November 12th, 2001 05:37 AM |