Re: help wanted regarding displaying Japanese characters in a GUI using QT and python

2006-04-20 Thread prats
sorry I did not correctly read your point. I works fine. Thanks for your help. I have one more query. It was said that the text I was supposed to show was written using "ISO-2022-JP" charset. But It didn't when I decoded it using that charset. But it worked fine with the "shift-jis" encoding. Is it

Re: help wanted regarding displaying Japanese characters in a GUI using QT and python

2006-04-20 Thread prats
I think I could not make myself clear. I have a GUI written in Python and Qt and PyQt as the python wrappper fro QT. Now I have a string which is base64 encoded. This string contains both japanese and english charaters. I need to decode them and display them properly in the GUI ie. with both englis

Re: help wanted regarding displaying Japanese characters in a GUI using QT and python

2006-04-19 Thread prats
No I need to replace the text given by the user in the GUI by a new text already in ISO-2022-JP encoding. Then I would have to redisplay this new text. I explain in detail. I have a text file(say) which has something written in it using base64 encoding and using charset ISO-2022-JP. I want to displ

help wanted regarding displaying Japanese characters in a GUI using QT and python

2006-04-19 Thread prats
I want to write a GUI application in PYTHON using QT. This application is supposed to take in Japanese characters. I am using PyQt as the wrapper for using QT from python. I am able to take input in japanese. But I am unable to display them back to GUI. It displays some junk characters Can anyone s