2 Jul
2001
2 Jul
'01
8:08 a.m.
Neil Hodgson wrote:
u[i] is a character. If u is Unicode, then u[i] is a Python Unicode character.
This wasn't usefully true in the past for DBCS strings and is not the right way to think of either narrow or wide strings now. The idea that strings are arrays of characters gets in the way
if you stop confusing binary buffers with text strings, all such problems will go away. </F>