[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Problems with unicode character encoding output
----- Original Message -----
From: "Jirka Kosek"
>> - When I choose the UTF-8 encoding in my IE 6 browser it works fine, but it
>> doesn't stick (meaning I have to change the encoding everytime I refresh or
>> visit a new page.). I am assuming that this happen because I can get my meta
>> tag inserted.
>> -My HTML has tons of the letter "Â" everywhere. I would like them to go away.
>> :) One place where they are always located is between section numbers and
>> titles, if this makes any sense
>I think that these issues will be solved if you can get proper encoding
>flag in meta tag.
I added this to my XHTML customization layer to solve the problem:
<!-- Additional meta tag info for IE (not needed when using xsltproc) -->
<xsl:template name="user.head.content">
<xsl:if test="contains(system-property('xsl:vendor'), 'SAXON') or
contains(system-property('xsl:vendor'), 'Apache')">
<meta xmlns="http://www.w3.org/1999/xhtml" http-equiv="Content-Type"
content="text/html; charset=UTF-8"/>
</xsl:if>
</xsl:template>
/MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]