Comment #5 on issue 604 by xieyanbo: East asian characters are not aligned correctly in console output
http://code.google.com/p/robotframework/issues/detail?id=604

Actually, that script print 261 range of wild characters, and 45647 is the total number. I have implement a prototype to replace east_asian_width function. The attachment generate_wild_chars.py output a module's source code, which include a function "is_wild_char". "is_wild_char(c)" have the same behaviors as "eaw(c) in 'WF'". You can do more optimize for it, but I think "is_wild_char" is good enough to work in our product. Have a try.

Attachments:
        generate_wild_chars.py  1.7 KB
        wild_chars.py  4.4 KB

Reply via email to