[Optimoz] Correction nl-NL locale
Jens Bannmann
jens.b at web.de
Mon Jan 2 10:48:55 EST 2006
Asciimonster schrieb:
> I have a question about using accents. In Dutch the trema (two dots
> above a vowel) is often used. I've use the HTML character entities
> (such as ï) in my translated text. This, however, prevents the
> options page from loading. How should I include accents?
You have two options. If your editor is capable of saving files using
Unicode UTF-8 (not ASCII or ANSI) encoding, you can directly type the
characters, without any entities - both in .properties and .dtd. I'd
definitely recommend this approach, as it's easier to maintain.
Otherwise, you can use numerical entities in the DTD file (such as
ï for i-with-trema) - these are the same as for HTML, see
http://de.selfhtml.org/html/referenz/zeichen.htm#benannte_iso8859_1
In the properties file, the correct form is \uXXXX, where XXXX is the
hexadecimal form of the unicode code point - e.g. \u00E4 for a-with-trema.
Regards,
Jens
More information about the Optimoz
mailing list