Hi Paul,

On 4/20/05, Paul Moore <[EMAIL PROTECTED]> wrote:
> I don't know if you are literally including Japanese characters in
> your source code, as you appear to be doing here, but unless you have
> an encoding declaration in your module, this won't work - by default,
> Python source code only handles ASCII characters.

For this test code, I am including the japanese characters right in,
but python was nice enough to warn me first time around when I forgot
to include the encoding. I'm using utf8 encoding, and I seem to be
able to manipulate these characters fine in other scripts. The
.encode() call should put in the appropriate escapes that are needed.

Thanks for checking though =)

Lars
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to