My problem is with IDLE on Windows. When I try to type Bangla directly into the IDLE window I only get '?' characters, and repr() fails with a UnicodeDecodeError. I expect, though, that that's because of my specific installation / Windows issues, as it works fine on Fedora 10...
> I do not get any problem in processing Hindi or Bangla or any Indian > language in Python it is perfectly fine. I have no problems either -- my issues are with IDLE, and only on Windows. ---- Rami Chowdhury "Strangers are just friends who haven't had enough gin." -- Howdle's Saying 408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD) On Saturday 22 August 2009 13:27:02 SUBHABRATA BANERJEE wrote: > Should I help you? If you answered my questions I am differing from your > view I do not get any problem in processing Hindi or Bangla or any Indian > language in Python it is perfectly fine. > Best Regards, > Subhabrata. > > On Sat, Aug 22, 2009 at 9:48 AM, Rami Chowdhury <rami.chowdh...@gmail.com>wrote: > > I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I > > > >> use Python to help me in this regard? > > > > I can say from experience that Python on Windows (at least, Python 2.5 on > > 32-bit Vista) works perfectly well with UTF-8 files containing Bangla. I > > have had trouble with working with the data in IDLE, however, which seems > > to prefer ASCII by default. > > > > ------------- > > Rami Chowdhury > > "Never assume malice when stupidity will suffice." -- Hanlon's Razor > > 408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD) > > > > > > > > > > > > On Aug 21, 2009, at 19:15 , joy99 wrote: > > > > Dear Group, > > > >> I like to convert some simple strings of natural language to XML. May > >> I use Python to do this? If any one can help me, on this. > >> > >> I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I > >> use Python to help me in this regard? > >> > >> How can I learn good XML aspects of Python. If any one can kindly name > >> me a book or URL. > >> > >> I am using Python2.6 on Windows XP with IDLE as GUI. > >> > >> Best Regards, > >> Subhabrata. > >> -- > >> http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list