perl-unicode

Re: bareword test on ebcdic.

2005-07-28 02:35:56
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.....

<Prev in Thread] Current Thread [Next in Thread>