Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: The ôreal length" of UTF8 strings

by betterworld (Deacon)
on Sep 23, 2008 at 21:54 UTC ( #713320=note: print w/ replies, xml ) Need Help??


in reply to Re^2: The ôreal length" of UTF8 strings
in thread The ôreal length" of UTF8 strings

You're right. I misunderstood the question and did not realize that we are looking for the "visual length".

Well, I think it depends on the font then, doesn't it?


Comment on Re^3: The ôreal length" of UTF8 strings
Re^4: The ôreal length" of UTF8 strings
by Anonymous Monk on Sep 24, 2008 at 04:21 UTC

    Yes betterworld, I should have choosen a better title like "the visual length of UTF8 strings" instead of the "real length" which leads to confusion.

Re^4: The ôreal length" of UTF8 strings
by moritz (Cardinal) on Sep 24, 2008 at 07:59 UTC
    Well, I think it depends on the font then, doesn't it?

    Maybe, but there are double-width characters that even fixed-width fonts display with the width of two normal characters (like the ones in the OP).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://713320]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (18)
As of 2015-07-06 13:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls