|
On 2/17/2011 1:38 PM, CRPence wrote:
Different encoding schemes surely, but the apostrophe [SP050000] glyph
is part of the "invariant character set" of all EBCDIC code pages
whereby the code point x'7D' always represents the single-byte
apostrophe character.
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/nls/rbagsinvariantcharset.htm
That's true for all EBCDIC code pages, but it won't work if the code is ever used in an ASCII environment. That's already possible if the code is used with the VA RPG compiler.
But aside from that, using x'7D' to define a single quote is just icky.
Here's my latest whine about this, in the RPG Cafe blog:
http://tinyurl.com/too-bad-everyone-knows-x7d
As an Amazon Associate we earn from qualifying purchases.
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.