Hi Kim!
Generally speaking, Xalan uses Xerces's services for transcoding.
I don't think that "euc-kr" is supported by Xerces ( only ASCII, UTF-8,
UTF-16 and so on)
Probably you need Xerces with ICU(or Iconv) enabled  .
                                                                               
                                                                               
 Dmitry                                                                        
                                                                               




                                                                                       
                                             
                      Kim Jeong Yeon                                                   
                                             
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]            
                                       
                      kr>                      cc:                                     
                                             
                                               Subject:  Q : Encoding problem in 
XPathWrapper (in samples)                          
                      16.06.2003 04:15                                                 
                                             
                      Please respond to                                                
                                             
                      xalan-dev                                                        
                                             
                                                                                       
                                             
                                                                                       
                                             




hi.
I have question about encoding problem(in XPath Processing).

I did compile XPathWrapper sample successfully
in Xalan-C++(~xml-xalan/c/samples/XPathWrapper/).

also, It works no problem on sample xml file.
But, I tried another xml file that encoded "euc-kr", It didn't work. :-(
(stop in print or parsing)

XPathWrapper sample used
TranscodeFromLocalCodePage()/TranscodeToLocalCodePage() function for
transcode.
For support another encoding, have another way?

How can I solve this encoding problem?
(XSLT(Xalan) works no problem about encoding)


I build Xalan-C++ 1.5 with Xerces-C++ 2.2.0 and ICU 2.4.
My system is...
  Redhat Linux 8.0
  gcc 3.2

Thanks Your Reading. :-)




Reply via email to