Displaying Unicode text in Tkinter Canvas widget
Erik de Castro Lopo
nospam at mega-nerd.com
Mon Jan 29 15:57:24 EST 2001
Hi all,
I'm writing a little app for helping to learn the Japanese
Hiragana character set. At the moment I'm displaying GIF
images of the characters but I would much rather use
Unicode text.
I've had a look at the python.org web site and installed Tamito
Kajiyama's Japanese codecs. I've also installed Tk/Tcl 8.3 and
recompiled/installed Python 2.0.
Commands like:
print unicode ('abcdefg', 'japanese.iso-2022-jp')
work without error messages, but I would like to know how
to display Hiragan characters without making Japanese the
default encoding.
TIA,
Erik
--
+----------------------------------------------------------+
Erik de Castro Lopo nospam at mega-nerd.com (Yes its valid)
+----------------------------------------------------------+
"Reality is just a crutch for people that can't handle CyberSpace!!"
- Hank Duderstadt
More information about the Python-list
mailing list