PtokaX > Feature Proposals

Unicode (UTF-8) support...

(1/2) > >>

PPK:
One of things i'm missing in PtokaX (and whole nmdc protocol) is full Unicode (using UTF-8 encoding) support. Many users actually use that because many clients already support it, but PtokaX missing it and will be nice to get proper support for that.
Advantage is of course that everyone will see characters correctly, when now for example users with central european encoding don't see correctly russian characters.
Disadvantage is that users without UTF-8 client don't see special characters correctly (in similar way as CE users don't see correctly RUS characters now). They will see correctly standard low ascii characters (characters 0 - 127 in ascii table).
NMDC protocol is UTF-8 compatible, it will not break anything (even original old neo-modus hub and client version 1 don't have problem with UTF-8 encoded protocol messages, only don't show correctly special characters).

Please vote if that change should happen ::)

Fox_home:
I agree, also request to add support for UTF8 in scripts.

WAJIM:
Optional, of course!  :-\

PPK:
Example image (Click to enlarge):


On top smart client with UTF-8 support. Correctly show UTF-8 text and it is smart enough to detect non-UTF-8 strings and show them correctly using actual system locale (in my case central european - win-1250 encoding).

On bottom PtokaX UDP-Debug Receiver, serve here as client without UTF-8 support ::)


--- Quote from: Fox_home on 03 September, 2011, 04:46:45 ---I agree, also request to add support for UTF8 in scripts.

--- End quote ---
Question is what you mean by UTF-8 support in scripts, you can actually use UTF-8 in scripts (as is shown on my image) but you need to avoid BOM (ie you can't save scripts in UTF-8 in windows notepad, but you can for example in PSPad where is possible to disable BOM). Problem with BOM is (or should be, because i seen code related to that in source) fixed in Lua 5.2 :P


--- Quote from: WAJIM on 04 September, 2011, 12:10:16 ---Optional, of course!  :-\

--- End quote ---
:'(

Fox_home:

--- Quote from: PPK on 04 September, 2011, 19:05:13 ---Question is what you mean by UTF-8 support in scripts, you can actually use UTF-8 in scripts (as is shown on my image) but you need to avoid BOM (ie you can't save scripts in UTF-8 in windows notepad, but you can for example in PSPad where is possible to disable BOM). Problem with BOM is (or should be, because i seen code related to that in source) fixed in Lua 5.2 :P
 :'(

--- End quote ---
thanks

Navigation

[0] Message Index

[#] Next page

Go to full version