[opencms-dev] German Umlauts in cms.readFile()

Uwe König u.koenig at ifu.com
Wed May 3 10:33:29 CEST 2006



Hello Joe, 

> This is a character encoding problem: ISO-8859-1 vs UTF-8.  

Yes, it seems to be. I tried the following: edit the file local, save as UTF-8. Upload in the VFS. When I request the textfile via browser, it is displayed okay in UTF-8. When I use cms.readFile(), I get an encoding which, unfortunately, seems to be even different from ISO-8859-1. Similar, but different. 
Best regards, 

Uwe König 





More information about the opencms-dev mailing list