Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
go ahead... be a heretic
 
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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-04-16 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls