[Helma-user] Skin files and character encoding

Hannes Wallnoefer hannes at helma.at
Thu Jan 10 10:41:19 CET 2008


2008/1/10, tobias.schaefer at orf.at <tobias.schaefer at orf.at>:
> Thanks for the hints, maks.
>
> However, the creation of the skin files is not the real issue since I
> can edited them via web form, anyway.
>
> And I can rule out that the characters are ill-transformed when saving
> the form data to file because the skin files look ok in a UTF-8 capable
> text editor (TextMate) as well as in Eclipse after setting the text
> encoding to UTF-8 as described by you.
>
> My problem is still that skin files containing UTF-8 characters are
> not displayed correctly when rendered as skins by Helma -- unless
> I add the -Dfile.encoding=UTF8 switch.

I tried to reproduce this. Since Ubuntu uses UTF-8 as default charset,
I started Helma with  -Dfile.encoding=ISO8859_1. Then setting
skinCharset to UTF8 or UTF-8 rendered the (utf8 encoded) euro sign ok,
while not setting skinCharset rendered €. Pretty much as it should.
Maybe it's a problem with your java runtime?

hannes

> And adding this switch seems to obsolete the skinCharset property,
> doesn't it? Except for me having misunderstood this property...
>
> Ciao,
> tobi
>
>


More information about the Helma-user mailing list