This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]