× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



For some reason, I was thinking the hex display only showed 2 digits. You're correct, it's not x'E2'. It's x'E28099', which is right-single-quote.

If this becomes persistent, I'll have to just convert manually. Thank you



-----Original Message-----
From: Barbara Morris [mailto:bmorris@xxxxxxxxxx]
Sent: Wednesday, July 25, 2018 4:12 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: CCSID 1208 single quote

On 2018-07-25 4:13 PM, Justin Taylor wrote:
I have an XML file that was uploaded thru Apache. It has a CCSID of 1208. I'm getting a conversion error during a lengthen import process.

I've looked at the XML via 5250, RDi and IE. In RDi and IE, it looks fine at first glance, but there's a single quote that looks different from the rest. The other single quotes are all vertical, but this one has a backwards slant. In 5250, that single quote is a blank space. I looked at the hex, and it has a value of E2.

The "left-single-quote" in UTF8 has 3 bytes: x'E28098'. I'm guessing you'll see the x'E2' followed by x'8098'.
http://www.fileformat.info/info/unicode/char/2018/index.htm

That character won't be able to convert to an EBCDIC CCSID. At least, I don't think any of the EBCDIC CCSIDs have those fancy quotation marks.

The ordinary single-quote in UTF8 is x'27'.

--
Barbara



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.