Characters in Python

Brian Quinlan brian at sweetapp.com
Sun Jun 8 17:35:43 EDT 2003


> I was afraid it worked like that... My use case is this: if a user
opens
> a text file in my app that isn't ascii, I'd like to offer a dialog so
> the user can choose an encoding from a popup menu or a combo box. I
> guess I'll just hard code a list of encodings.

That is probably the best idea anyway since there are a lot of obscure
encodings (e.g. EBCDIC) that you don't want to expose to the user.

Cheers,
Brian






More information about the Python-list mailing list