Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: Encode only wide char entities?

by jabowery (Beadle)
on Mar 09, 2012 at 22:46 UTC ( #958802=note: print w/replies, xml ) Need Help??

in reply to Re: Encode only wide char entities?
in thread Encode only wide char entities?

I'm using utf8 but I'm getting "wide chars" from nasty M$ programs.

What I was missing was the unicode range syntax:


I suppose I could convert everything to utf8 that comes in but I wanted to expose the unicode as entities in the source.

Replies are listed 'Best First'.
Re^3: Encode only wide char entities?
by ikegami (Pope) on Mar 09, 2012 at 23:20 UTC
    You SAY you're using UTF-8, but you forgot to actually encode to UTF-8. You probably need something like
    binmode(STDOUT, ":encoding(UTF-8)");

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://958802]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-07-22 20:54 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (455 votes). Check out past polls.