Newbie : Greek letters

asdf sdf asdf at asdf.com
Fri May 7 17:04:59 EDT 2004


Christopher Culver wrote:
> On Fri, 07 May 2004 03:52:36 +0000, asdf sdf wrote:
> 
>>Oh Kyu Yoon wrote:
>>
>>>Is there an easy way to include greek letter symbols in TextCtrl of
>>>wxPython?
>>>
>>>
>>
>>this is only a idea.  no experience with it myself.  Try using SetFont
>>to get Symbol font.  Symbol font is available on WinPCs.  Couldn't say
>>about any other platforms though.
> 
> 
> That is a bad idea. Not only does it break cross-platform compatibility
> (the goal of wxWindows) by using a proprietary font, it totally ignores
> Python's excellent Unicode support. Greek has it's own block in Unicode,
> you just have to create the characters from there. Using special fonts to
> overcome character sets is sooooo 1998.
> 
> Christopher Culver


well, i'm edified.  how about a code example?  isn't there some issue 
about whether a given wxpython build has unicode support?  how do you 
tell?  how do you add it if you don't have it?

if i may paraphrase the OP's question... "can i do greek letters in 
python?".

if i may paraphrase your helpful response..."yes".

cool 'tude though.




More information about the Python-list mailing list