[Urwid] Problems with line characters and EUC-KR encoding

Ian Ward ian at excess.org
Wed Jul 2 10:35:58 EDT 2008


Park Shinjo wrote:
> I used Unicode line characters(U+2500 and something) in Urwid's
> SolidFill widget. Example(source file's encoding is UTF-8):
> 
> utf8decode = urwid.escape.utf8decode
> dash = urwid.SolidFill(utf8decode('─'))
> 
> When I ran that program in UTF-8 terminal, SolidFill fills whole
> screen width there. However, in EUC-KR terminal, it fills just half of
> screen width. Can somebody help me?
> 
> Currently using Python 2.5 and Urwid 0.9.8.1.

What terminal are you using, what is your locale set to and does the
same thing happen with regular characters?

Ian




More information about the Urwid mailing list