Erik schreef: > iconv converts 'å' into "Ã¥". Then code2html reconizes à but not ¥ as > a letter, so the output of "Aål" is: > <font color="#2040a0">AÃ</font>¥<font color="#2040a0">l</font>
OK, that's a bug of code2html. Also, the produced html doesn't signal that it is in UTF-8. > Since Ada code is in latin1, I suppose an input layer is needed. Yes, that is the easiest way to solve it. > And > since HTML should have things like "å", an output layer is also > needed. Seems like a lot of work. The default of HTML was once Latin1 (ISO-8859-1), so either "å" or a byte with value 229 should be equivalent. But it is of course much better to follow this: http://www.w3.org/TR/REC-html40/charset.html and include a proper header. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>