Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: msxsl encoding

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 3/8/2006 2:00:00 PM

svanrees@h... wrote:


>    I am having a problem displaying Japanese characters in a html file
> generated using msxsl.  I found that there are two ways to manually
> overcome this problem. The first is to remove charset=UTF-8 from the
> following line in the html file <META http-equiv="Content-Type"
> content="text/html; charset=UTF-8">.  The second is to open the html
> file in notepad, select the  Save As option and set the file's encoding
> to unicode.  

Then you usually get UTF-16 and not UTF-8.

> I was just wondering if there is a way to do either of
> these options automatically when the files are created, instead of
> manually doing it after the files are created.
> I am currently using the following line in my xsl file to set ecndoing:
> <xsl:output method="html" encoding="UTF-8" />

You should put that line in the XSLT stylesheet and you should not put 
any <meta http-equiv="Content-Type" content="text/html"> manually into 
the result.



-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent