rpbeltran / java-secure-lan-chat

Encrypted LAN chat client
The Unlicense
0 stars 0 forks source link

Add support for Asian characters #10

Open lekro opened 9 years ago

lekro commented 9 years ago

For the future, so we don't forget...

We should add support for Asian characters (UTF-8) so people can talk in non-European languages. Currently, these characters are converted into ? marks... e.g.

こんにちは becomes ?????

rpbeltran commented 9 years ago

This should be priority one.

legomaniack commented 9 years ago

Well. At the moment, I couldn't figure out another separator character for lists, and used ß as the separator.... Don't try to have a German username or something.

lekro commented 9 years ago

You could try using the backspace character.

legomaniack commented 9 years ago

Let's find a Unicode control character or something.

On Fri, Apr 24, 2015 at 12:48 PM lekro notifications@github.com wrote:

You could try using the backspace character.

— Reply to this email directly or view it on GitHub https://github.com/rpbeltran/closed-kimono/issues/10#issuecomment-96011077 .

lekro commented 9 years ago

@legomaniack Aha! Found some. Read this: https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text

We can use ASCII character 30 [RS] to separate the key and values, and 31 [US] for lists. -> I did this in abb6665e3c85936e9dea0d2d446b520ddc2cab5a.