How can I convert an international (e.g. Russian) String to \\u numbers (unicode numbers) e.g. \\u041e\\u041a for OK ?
\\u
\\u041e\\u041a
OK
There's a command-line tool that ships with java called native2ascii. This converts unicode files to ASCII-escaped files. I've found that this is a necessary step for generating .properties files for localization.