Hi,

I just got started with XSP, and I'm having some issues with the
encoding. I'm trying to do this:

===

<?xml version="1.0" encoding="EUC-JP"?>
<?xml-stylesheet href="NULL" type="application/x-xsp"?>

<!--
    this is a custom xsl that's written in EUC-JP, and
    <xsl:output encoding> is also set to EUC-JP
-->
<?xml-stylesheet href="main.xsl" type="text/xsl"?>

<document title="Some_Japanese_Characters">
   <xsp:logic>
      ...
   </xsp:logic>
</document>

===

When I place Japanese characters ( EUC-JP ) in the document node, LibXML
(iconv?) complains:

   output conversion failed due to conv error
   Bytes:  ..........
   xmlOutputBufferWrite: encode error

This seems to have something to do with the resulting document from the
first XSP transformation, as no error is produced if the second
stylesheet is disabled. And I know that the second stylesheet works by
itself without any errors.

Is there anyway to fix this?

Thanks,
--d





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to