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

Joe Desbonnet jdesbonnet at gmail.com
Wed May 3 15:38:04 CEST 2006


Could you send me a sample file and I'll see if I can reproduce the
problem at my end. Eg some short text in UTF-8. Maybe ZIP that up so
that the encoding is not interfered with.
Joe.

On 5/3/06, Uwe König <u.koenig at ifu.com> wrote:
>
>
> 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
>
>
>
> _______________________________________________
> 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