xsl-list
[Top] [All Lists]

Re: [xsl] Representing EBCDIC code 37 in xslt

2013-12-30 13:37:55
Well, I have <xsl:output encoding> set to utf-8 right now. If I set it
to EBCDIC, then the rest of the content in the XML converts to
gibberish. Thats what I meant.

I only need the special characters -esp. Latin-1 characters like the
plusminus sign, to convert to the right EBCDIC code.

I have a java program that FTPs the file; I believe the default is ASCII.



On Mon, Dec 30, 2013 at 1:32 PM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:

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.



That doesn't make sense. It makes no sense to have some characters in a file 
encoded in EBCDIC unless the whole file is encoded in EBCDIC.

Are you using "gibberish" as a synonym for "EBCDIC"? If so, I don't really 
understand what you are trying to achieve.

Saxon, incidentally, allows you to use any encoding supported by your Java 
environment. Information on the encodings supported by Oracle JDK 7 can be 
found here:

http://docs.oracle.com/javase/7/docs/technotes/guides/intl/encoding.doc.html

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>
--~--


--~------------------------------------------------------------------
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>
--~--