[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Representing EBCDIC code 37 in xslt

Subject: Re: [xsl] Representing EBCDIC code 37 in xslt
From: a kusa <akusa8@xxxxxxxxx>
Date: Mon, 30 Dec 2013 13:37:44 -0600

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@xxxxxxxxxxxx> wrote:
> On 30 Dec 2013, at 18:52, a kusa <akusa8@xxxxxxxxx> 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

Current Thread