Hello,
I'm having a problem processing iso-8859-1 characters in Sablot 0.6 (i had
the same problem with previews versions).
I'll show an example:
<?xml version="1.0"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" encoding="iso-8859-1" />
<xsl:template match="/">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Main Page</title>
</head>
<body>
�
<br />
<xsl:value-of select="ROOT/T" />
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="iso-8859-1" ?>
<ROOT>
<T>�</T>
</ROOT>
Using these xml and xsl documents i get the following output with sabcmd:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Main Page
</title>
</head>
<body bgcolor="#ffffff">
銉
<br>�
</body>
What happens is that sablot translates the '�' char into 銉 but,
neither Mozilla/Nestcape nor Internet Explorer shows what would be the
expected output - '�'.
I don't know what I am doing wrong, i would be thankfull if someone explained
to me what is going on.
thanks
Ant�nio Afonso
--
You left them alone in a room with a penguin?! Mr. Gates, your men are
already dead.