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

Hindi and Python

P: 1
Hi,

Can anyone please tell me what encoding should I use to display Hindi text in Python?
Apr 10 '08 #1
Share this Question
Share on Google+
1 Reply


P: 43
I would try utf-8 first.
fp= codecs.open(filename, 'r', 'utf-8')
Apr 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.