Jump to content

encoding problem


Guest Peter_B

Recommended Posts

Guest Peter_B

I don't get the correct encoding type into my html file.I use the xml and xslt below with the microsoft xmlparser 3.0.<?xml version="1.0" encoding="ISO-8859-1"?><note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>a</body></note><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" encoding="iso-8859-1" omit-xml-declaration="yes" indent="yes"/><xsl:template match="/"> <html> <head> </head> </html></xsl:template></xsl:stylesheet>The result in the html page is<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-16"></head></html>Can anyone tell me how to set the charset to ISO-8859-1Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...