Re: Skin files and character encoding

<[email protected]> Fri, 11 Jan 2008 14:38:49 +0100
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
> 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

_______________________________________________
Helma-user mailing list
[email protected]
http://helma.org/mailman/listinfo/helma-user
winmail.dat (application/ms-tnef, 3.4 KB) - not displayed