Sunday, February 10, 2019

Converting Properties Files to Escaped Unicode

Converting Properties Files to Escaped Unicode


Using Unicode characters in Java with properties files is somethimes problematic, when we want to show signs and symbols that are not ASCII characters...

Converting Properties Files to Escaped Unicode is a must!
when we have problem with displaying especial signs:

So we want to send u-escaped Unicode, using \uXXXX. 
As not only Java, but also JavaScript/JSON knows this convention, we only need this u-escaping in java on the server.

Solution:




Symbols, icons, "visual thinking" signs and letters:



No comments: