"Martin v. Löwis" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL 
PROTECTED]>...
> klappnase wrote:
> >     enc = locale.nl_langinfo(locale.CODESET).lower()
> 
> Notice that this may fail on systems which don't provide the
> CODESET information. Recent Linux systems (glibc 6) have it,
> and so do recent Solaris systems, but if you happen to use
> an HPUX9 or some such, you find that locale.CODESET raises
> an AttributeError.
> 
> Regards,
> Martin

Thanks again,

Things are really tricky and my hair begins to turn gray ;-)
So it seems like I'll have to add another try/except condition (and
now it finally looks pretty much like I had directly copied your code
from IDLE).

Best regards

Michael
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to