Rajarshi Das <[EMAIL PROTECTED]> writes: >Hi, > >I have a basic doubt regarding unicode and z/OS >(ebcdic : ibm-1047). > >$a = chr(0x00A1); > >$b = chr(0xA1); > >Should $a and $b be equal or yield different results >on ebcdic ?
As far as I know they should be the same. chr() takes a number and the two forms above are the same number. But "\xa1" and "\x{00a1}" may differ. The \x{} style (at least once-upon-a-time) implies Unicode numbering.