[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Representing EBCDIC code 37 in xslt

Subject: Re: Representing EBCDIC code 37 in xslt
From: a kusa <akusa8@xxxxxxxxx>
Date: Mon, 30 Dec 2013 13:37:44 -0600
Re:  Representing EBCDIC code 37 in xslt
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.