[opencms-dev] Problems with Umlaute in workplace.properties files (OpenCms 7.5)
Achim Westermann
achim.westermann at gmx.de
Fri Aug 7 00:53:44 CEST 2009
Hi Bernd & Christian,
also a tip regarding properties files that might be stored in OpenCms
VFS and mapped as export points to the file system:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream)
uses ISO-8859-1 as the assumed encoding. It is possible (and should be
done) to set the property "encoding" of those *.properties files in VFS
to "ISO-8859-1". Then you are e.g. able to enter german Umlauts. If you
click save, the reloaded file in the editor will then not show up with
scrambled characters. In the hard case (when you need to use characters
that are not available in that codepage) you still have to use the
unicode representation of those characters mentioned by Christian.
Kind Regards,
Achim.
-------------------
Achim Westermann
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Christian Steinert wrote:
>> Uh-oh, thanx a lot for reminding ... as I just migrated my whole system which
>> was ISO-8859-1 based this problem never occurred before :)
>> By the way ISO-8859-1 is 8 bit.
>>
> Hmm - then the would be ISO Latin 1 rather than 7bit ascii; this would
> explain why they never changed the encoding to regular utf-8.
>> What a nuisance ...
>>
> indeed.
>
> Kind regards
> Christian
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list