Paul G. Hackett
Wed, 04 Mar 2009 17:44:21 -0800
NO-BREAK SPACE is 00A0, which in UTF-8 is xC2 xA0. Hex xC2 = Decimal 194. best, Paul Quoting Vic Norton <v...@norton.name>:
I am confused. I can't figure out what ord does. For example I've
pasted the NO-BREAK-SPACE (00A0) between the quotation marks in the ord
of the following line.
print ord(" "), "\n";
When I run this line in a Perl script I get
194
What does this 194 mean? As far as I know A0 = 10x16 = 160. And 194
certainly can't be an octal numeral.
Regards,
Vic