[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [babel-dev] Babel update site - is it working?
|
This is Unicode/UTF-8 corruption.
What encoding are the language .properties saved in in the jar's? They
should be in escaped Unicode.
http://www-306.ibm.com/software/globalization/topics/dev_java/lesson1.jsp
Keep in mind that property files must be written using Latin-1 and/or
Unicode escape sequence characters. native2ascii, which comes with Java
SDK, converts files which contain other character encodings into the
format above.
http://java.sun.com/javase/6/docs/api/java/util/Properties.html
Characters that cannot be directly represented in this encoding [ISO
8859-1]can be written using Unicode
escapes ; only a single 'u' character is allowed in an escape
sequence. The native2ascii tool can be used to convert property files
to and from other character encodings.
Attached is a sample .properties we use in one of our Eclipse RCP
applications.
Regards,
Daniel.
Denis Roy wrote:
Olivier
Thomann wrote:
Add -nl fr_FR or -nl fr_CA on the Eclipse
command line, not sure which one is available on your machine.
Both worked, thanks. Should we be documenting this somewhere, or am I
the only one who didn't know this?
Also, I'm guessing I should be seeing funny characters like in the
attached screenshot?
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev
|
Plugin.Name=Principaux services de Designer
Provider.Name=Novell, Inc.
Trace=Trace
Schema=Sch\u00e9ma
ProjectChecker=Contr\u00f4leur de projet
Preferences=Pr\u00e9f\u00e9rences
PreferencesTip=Pr\u00e9f\u00e9rences...
Save=Enregistrer
SaveTip=Enregistrer
ClearTrace=Effacer la trace
SelectAll=S\u00e9lectionner tout
SaveNoDots=Enregistrer
Copy=Copier
Properties=Propri\u00e9t\u00e9s
Language=Langue