Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
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
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
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.
My ShareCG Stuff
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.