Re: Bug#354640: tidy -utf8 -raw or else wrapping wacko on wide chars

Bjoern Hoehrmann <[email protected]> Sat, 25 Mar 2006 21:51:23 +0100
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
* Dan Jacobson wrote:
>And tidy -utf8 miscalculates how wide Chinese Unicode characters are.
>The are three bytes wide, but that doesn't matter.
>What matters is that they are two characters wide on the screen.

I think it is perfectly reasonable to treat all characters the same in
this regard. You might desire some different behavior e.g. if you edit
western text with variable width fonts, so 'l' takes much less space
than 'W', but such behavior is a feature request, don't you think?
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642