xsl-list
[Top] [All Lists]

Re: [xsl] Representing EBCDIC code 37 in xslt

2013-12-30 13:37:34

On 30 Dec 2013, at 18:52, a kusa <akusa8(_at_)gmail(_dot_)com> wrote:

Hi Michael:

Thanks for your quick response. I did mention that I tried utf-8 and
iso-8859-1 encoding. I cannot set the whole encoding to EBCDIC since
that will change all the other text to gibberish.



Further to my previous response: you appear to be running the transformation on 
a Unix box and then doing an FTP of the result to a mainframe.

Is the FTP in text mode or binary mode, that is, are you expecting the FTP to 
do UTF8-to-EBCDIC conversion?

If you expect the FTP to do code conversion, then (a) you must configure it 
correctly to do so, and (b) the output from your transformation must be in UTF8.

If you don't expect the FTP to do code conversion, then (a) you need to 
configure it so it does not do so, and (b) you need to generate the whole 
output in EBCDIC encoding on the UNIX box, using an appropriate value for 
<xsl:output encoding="..."/>

Michael Kay
Saxonica
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--