On Dec 11, 2016, at 4:57 PM, Richard Hipp <[email protected]> wrote:
> I agree with most of your changes. But I wonder about moving the
> QUOTE2 (the '[' character) value from code 0xba over to 0xad.
> According to EBCDIC chart at https://en.wikipedia.org/wiki/EBCDIC the
> '[' character should be at 0xba. Is wikipedia wrong?
If so, then some obscure company called the International Business Machines
Corporation is also wrong:
http://publibfp.dhe.ibm.com/epubs/pdf/dz9zr010.pdf
The EBCDIC/ISO-8 chart in appendix I of version 10 of the z/Architecture
Principles of Operation has [ at 0xba and ] at 0xbb for EBCDIC; it has an
accented capital Y at 0xad.
However, it's apparently a bit more complicated; different EBCDIC code pages
apparently give square brackets different code points:
http://www-01.ibm.com/support/docview.wss?uid=swg21515307
Apparently EBCDIC code page IBM 1047 has [ as 0xad and EBCDIC code page 037 has
[ as 0xba. Here's 037:
https://en.wikipedia.org/wiki/EBCDIC_037
ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/CP00037.pdf
and here's 1047:
https://en.wikipedia.org/wiki/EBCDIC_1047
ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/CP01047.pdf
The Wikipedia page on EBCDIC code pages:
https://en.wikipedia.org/wiki/EBCDIC_code_pages
says of 1047 "Open Systems (MVS C compiler)", so the issue may be that Brad
Larsen is using that compiler and it's insisting that '[' is 0xad.
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users