Got it: printing Unicode characters during telnet session

Pekka Niiranen pekka.niiranen at wlanmail.com
Wed Jun 25 11:57:32 CEST 2003


Thanks,

I got it by finding link:
http://www.alanwood.net/unicode/fonts.html
which explained the limitation of Lucida Console font:

Lucida Console – 666 glyphs, version 1.60
Ranges:   Basic Latin; Latin-1 Supplement; Latin Extended-A; Latin 
Extended-B; Greek; Cyrillic; General Punctuation; Box Drawing; Block 
Elements

I shall try to find another console font that can be used.
How about adding better font to Python distribution ?

By the way: program found from
http://www.microsoft.com/typography/property/property.htm
is very handy.

-pekka-


Fredrik Lundh wrote:
> Pekka Niiranen wrote:
> 
> 
>>Python's "print" does not seem to work for all characters :(
> 
> 
> maybe you should define "does not seem to work", so we don't
> have to guess...
> 
> 
>>Do not bother to point me to the existing FAQ and tutorials, because
>>they do not provide solutions for this problem (searched whole day
>>allready).
> 
> 
> do you get "ASCII encoding error: ordinal not in range(128)"?
> 
> If so, Google returns 641 hits for that error message.  The third hit is
> a "Python Unicode Tutorial" which shows you how to use the "encode"
> method to turn unicode strings into encoded 8-bit strings, suitable for
> printing...
> 
> </F>
> 
> 
> 
> 





More information about the Python-list mailing list