Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Trying to determine the output length of a Unicode string

by Anonymous Monk
on Sep 26, 2011 at 08:12 UTC ( #927814=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Trying to determine the output length of a Unicode string
in thread Trying to determine the output length of a Unicode string

I suppose my shell is capable of displaying unicode (utf8).

When I run this

perl -CO -E 'say "\x{263a}"'

I get this output


Comment on Re^4: Trying to determine the output length of a Unicode string
Download Code
Replies are listed 'Best First'.
Re^5: Trying to determine the output length of a Unicode string
by Jim (Curate) on Sep 26, 2011 at 20:07 UTC

    It seems unlikely to me you're using a shell terminal that has the capability to perform the sophisticated typography needed to render a lowercase m with a diaeresis above it and a cedilla below it. It's a matter of computer typography, not of Unicode code point coverage.

      It's the terminal, not the shell that matters. rxvt unicode works just fine with that invented character.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-07-28 06:39 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 (252 votes), past polls