Example: Using Special Characters

In the property file, you will need to use Unicode escape sequences for any special characters in standard ASCII text strings. Here is part of a property file that has been localized for French:

Genlinnode.LABEL=Lin\u00e9aire g\u00e9n\u00e9ralis\u00e9

Fields.LABEL=Champs
Model.LABEL=Mod\u00e8le
Expert.LABEL=Expert

inputFields.LABEL=Entr\u00e9es
targetField.LABEL=Cible
 ...

For languages that use non-Latin characters, such as Japanese or Chinese, you will need to use Unicode escape sequences for the entire text strings. Here is the same set of records localized for Japanese:

Genlinnode.LABEL=\u4e00\u822c\u5316\u7dda\u578b

Fields.LABEL=\u30d5\u30a3\u30fc\u30eb\u30c9
Model.LABEL=\u30e2\u30c7\u30eb
Expert.LABEL=\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8

inputFields.LABEL=\u5165\u529b
targetField.LABEL=\u5bfe\u8c61
 ...