Hi, 
I have 2 qustions about euc-kr encording.

1. In case of Xerces-c (using ICU), I got the correct result using included 
example - DOMPrint, SAX2Print.
(Result XML included euc-kr code is not broken.)
But, In case of Xalan-c, I can't get the correct result. (Result XML included 
euc-kr code is broken.)

Accoreding to manual, If ICU of Xerces-c is working correctly in Xercers-c , 
ICU of Xalan is working correctly.
But my result is not.

If I compiled ICU incorrectly, Is ICU of Xerces-c(not only Xalan-c but also 
Xerces-c) not working correctly?


2. In Xalan example, I set the output method of stylesheet is text.
So, I got the correct result.

* foo.xsl(하 is euc-kr code)
-----------------------------------------
<?xml version="1.0" encoding="euc-kr"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output method="text" encoding="euc-kr"/>
  <xsl:template match="english">
    <하하><xsl:value-of select="."/>하하하하하하</하하>
  </xsl:template>
</xsl:stylesheet>
------------------------------------------

but, If I set the output method of stylesheet is XML or HTML, I can't get the 
correct result.
(euc-kr code is broken.)
Why I can't the correct result ?


Regards
Heonsuk Lee

Reply via email to