Good News Everybody!
A new search engine is coming soon.
As a stop gap measure, we are using Google's custom search engine service.
|
On Tue, Sep 27, 2016 at 3:47 PM, CRPence wrote:
If the code point 0x0A is required to be stored in the EBCDIC
application data [to avoid changing the application], then
consider:
That 0x0A is the Repeat (RPT) control character in EBCDIC, into
which the Single Shift Two (SS2) control character should translate
from the code point 0x8E in ASCII.
I would emphasize *should*.
In reality, "ASCII" is not some universal, monolithic standard. There
are many, many variants, especially when it comes to 8-bit values.
Not all flavors of ASCII have an 0x8E defined, and some common
variants have it defined as something else (notably CP437 and
CP1252). Even UTF-8, the dominant encoding on the Web and one that
most people think "will handle everything", will have problems if you
try the 0x8E "trick". (You would need to use 0xC28E instead.)
It is likely that the ASCII flavor being used here is CP819, and in
that case, I believe the 0x8E character will be translated as
desired to 0x0A. But it's worth being aware of the other ASCII
variants, especially since we're talking about PHP.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.