an0malaus opened this issue on Apr 12, 2005 ยท 2 posts
an0malaus posted Tue, 12 April 2005 at 4:34 AM
Is anyone familiar with using unicode text formatting on the Mac for multi-byte character sets such as Japanese, etc.? I'm trying to find a Mac Python equivalent to the windows supported unicode("Your text here", "mbcs") string conversion. MBCS has a windows origin (though Mac operating systems supported non-latin, non-english character sets and writing directions prior to their implementation in Windows. So far there has not been an implementation of the unicode "mbcs" codec for Mac Python.
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.
ytetsu posted Thu, 14 April 2005 at 6:53 AM
I'm using Windoos, so I'm not sure about Mac.
If you can not show Japanese character although specify japanese font after unicode("..."."mbcs"), font("Japanese font name", size, attribute), plese change encoding="ascii" to encoding="mbcs" in the site.py at ":Runtime:Python:Lib".
I could show japanese changing abobe on Poser5J with WinXP.
But in normal case, I can show japanes only write like followings.
Label(master,text=unicode("Japanese characters","mbcs"),font=("Japanese font name"),14,"bold")...
Message edited on: 04/14/2005 06:55