On Thu, 2003-08-28 at 13:09, Nick Rout wrote: > matthew has interpreted the problem correctly, sorry if the question > wasn't clear. Ah, so z is *not* "a one byte hex value" :)
>>> z = u'\u00f7' # Unicode character 0xf7 >>> print z ? >>> print '%d' % ord(z) 247 >>> print '%x' % ord(z) f7 -- Michael JasonSmith http://www.ldots.org/
