Encoding is utf-8. I use "screen length" means as that; that of ascii character is 1, and that of character having double width than ascii character is 2. It's not bytes, but drawing width. As you say, it depends font. I'll be considering carefully. -- http://mail.python.org/mailman/listinfo/python-list
- How to get a "screen" length of a multibyte str... kobayashi
- Re: How to get a "screen" length of a mult... Chris Angelico
- Re: How to get a "screen" length of a mult... Hans Mulder
- Re: How to get a "screen" length of a mult... Steven D'Aprano
- Re: How to get a "screen" length of a mult... kobayashi
- Re: Re: How to get a "screen" length o... Evan Driscoll
- Re: How to get a "screen" length of a mult... Serhiy Storchaka