Re: bareword test on ebcdic.

[email protected] (Dave Mitchell)
Newsgroups perl.unicode,perl.perl5.porters
Message-ID <[email protected]>
On Wed, Jul 27, 2005 at 11:01:08PM +0100, Nicholas Clark wrote:
> My question is, what are the bytes in UTF-EBCDIC that encode code point 3500?

http://www.unicode.org/reports/tr16/

I *think* codepoint 3500, ie 0xdac, ie [0011][01101][01100]

maps to the i8 bytes

1110[0011] 101[01101] 101[01100], ie 0xe3, 0xad, 0xac

which after going through the i8 to UTF-EBCDIC byte conversion, comes out
as

0xba, 0x54, 0x53

Obvious really.....


-- 
Thank God I'm an atheist.....
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.