Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Character Recode Perlcode

by gildir (Pilgrim)
on Oct 03, 2001 at 19:51 UTC ( [id://116487]=note: print w/replies, xml ) Need Help??


in reply to Re: Character Recode Perlcode
in thread Character Recode Perlcode

There is a problem:

If I recode string "print 'foo'" to UTF16, I will get "\0p\0r\0i\0n\0t\0 \0'\0f\0o\0o\0'" and if I eval that string, I will get nothing, as the first "\0" will effectively ends the string. Similar problem exists with UTF8.

There is no problem recoding string, egighter Text::Iconv or Unicode::String with Unicode::Map8 can be used, but there is problem evaling UTF8/UTF16 string.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-20 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found