Ian Ward | 2 Jul 2008 16:35
Favicon
Gravatar

Re: Problems with line characters and EUC-KR encoding

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

_______________________________________________
Urwid mailing list
Urwid <at> lists.excess.org
http://lists.excess.org/mailman/listinfo/urwid
Park Shinjo | 3 Jul 2008 04:23
Picon

Re: Problems with line characters and EUC-KR encoding

I checked this problem in several terminals. KDE 3 & 4's Konsole is
working fine. But in a Konsole-based drop down terminal emulator,
Yakuake, the problem arises.

As I have found this a terminal problem, I have filed KDE bug #165609.
See: https://bugs.kde.org/show_bug.cgi?id=165609

2008년 7월 2일 (수) 오후 11:35, Ian Ward <ian <at> excess.org>님의 말:
> 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
>
>
> _______________________________________________
> Urwid mailing list
> Urwid <at> lists.excess.org
(Continue reading)


Gmane