By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,212 Members | 1,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,212 IT Pros & Developers. It's quick & easy.

Guessing _charset for MIMEText ?

P: n/a
How do I best guess the right (non-UTF, 8bit) default _charset for
MIMEText on an arbitrary computer?

Windows default encoding is quasi : 'mbcs' . No information
locale.getdefaultlocale()[1] #delivers for example:


but I guess 'cp1252' is not recognized commonly by email-readers, but
'ISO-8859-1' or 'Windows-1252' are usually used for that area.


PS: side-question: why is there a and a in
lib/encodings ? Shouldn't they be the same?

Jan 18 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.