[Helma-user] Skin files and character encoding

tobias.schaefer at orf.at tobias.schaefer at orf.at
Fri Jan 11 14:38:49 CET 2008


> An important question is: Is decoding failing only for the euro sign,
> or also for other characters such as umlauts? If umlauts are decoded
> correctly the problem is almost definitely not with Helma, but with
> Java and Eclipse/TextMate disagreeing on this particular aspect of
> UTF-8.

Decoding fails with any UTF-8 character like umlauts, typographic 
quotes et al.

Below is a hexdump of a test skin I am using that contains the following
characters:

€€€€€ äöüß »¡No, señor!« — — –

This is what I get in the browser:

‚Ǩ‚Ǩ‚Ǩ‚Ǩ‚Ǩ ?§???º?ü ¬ª¬°No, se?±or!¬´ ‚Äî ‚Äî ‚Äì

(Might be useless due to conversion through various mail servers.)

# hexdump -C test.skin
00000000  e2 82 ac e2 82 ac e2 82  ac e2 82 ac e2 82 ac 20  |?.??.??.??.??.? |
00000010  c3 a4 c3 b6 c3 bc c3 9f  20 c2 bb c2 a1 4e 6f 2c  |äöü?. »¡No,|
00000020  20 73 65 c3 b1 6f 72 21  c2 ab 20 e2 80 94 20 e2  | señor!« ?.. ?|
00000030  80 94 20 e2 80 93                                 |.. ?..|
00000036

Maybe this does help? Is it a correct UTF-8 format?

Ciao,
tobi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3463 bytes
Desc: not available
Url : http://helma.org/pipermail/helma-user/attachments/20080111/568451cb/attachment.bin 


More information about the Helma-user mailing list