* Dan Muey d...@cpanel.net [2010-10-28 21:55]:
For example, note the differences in output between a unicode
string and a byte string regarding character 257, as a unicode
string it is 257, as a byte string it is 196.
That is not what’s going on.
$ perl -E'say ord 1234'
49
When you
On Oct 29, 2010, at 2:30 AM, Aristotle Pagaltzis wrote:
* Dan Muey d...@cpanel.net [2010-10-28 21:55]:
For example, note the differences in output between a unicode
string and a byte string regarding character 257, as a unicode
string it is 257, as a byte string it is 196.
That is not
Dan Muey schrieb am 28.10.2010 um 14:54 (-0500):
Am I correct in thinking that the only way to get ord() to return a
value over 256 is to send the character as a Unicode string instead of
a byte string?
Yes.
In other words, is there any character that will make ord() return
over 256 when
On Oct 28, 2010, at 5:27 PM, Michael Ludwig wrote:
Dan Muey schrieb am 28.10.2010 um 14:54 (-0500):
Am I correct in thinking that the only way to get ord() to return a
value over 256 is to send the character as a Unicode string instead of
a byte string?
Yes.
In other words, is there