On Wed, Jul 25, 2018 at 4:13 PM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:
I've looked at the XML via 5250, RDi and IE.

Well, there are a lot of ways to look at things "via 5250", but you
have been more specific than most people about the various methods
you've tried, so kudos for that.

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.

It's one of the "smart quotes": either U+2018 (left single quotation
mark) or U+2019 (right single quotation mark). These are also called
curved or angled quotes, because of how they are visually rendered,
and to contrast them with the typical straight quotes. It used to be a
telltale sign that someone used a Microsoft Office product (such as
Word) and copy-pasted straight from that. Now you get "helpful" smart
quotes from all over the place.

I looked at the hex, and it has a value of E2. Assuming that's 00E2, the Unicode chart shows that as a letter "a" with a ^ over it. In context, I'm sure it's supposed to be a regular single quote.

CCSID 1208 means UTF-8, and in UTF-8, either of those quote characters
will be represented by 3 bytes. Specifically, x'e28098' or x'e28099'
(for left and right, respectively). Note that UTF-8 is a
variable-length encoding. All the "plain ASCII" characters are
represented by one byte in UTF-8 (same as they would be in CCSID 819
or 1252).

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.