[clug] python unicode question
michael.cohen at netspeed.com.au
Mon Dec 8 08:49:20 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
That really cleared things up for me. Sorry I might have sounded a little
shirty about python at the time, i really like python but i was spending too
long trying to figure that unicode stuff out.
This really jelled it in for me:
> Normally you want to
> do all your internal processing on Unicode objects and translate
> to/from an encoding at the point of i/o.
> Remember decode is for input, bytes -> unicode and encode is for
> output, unicode->bytes.
Thanks for your help it all works nicely now.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the linux