![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - msxsl encoding [Thread Next] Re: msxsl encodingTo: 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/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
