Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: how to change unicode string to byte array ?

by moritz (Cardinal)
on Sep 28, 2008 at 18:23 UTC ( [id://714202]=note: print w/replies, xml ) Need Help??


in reply to how to change unicode string to byte array ?

Sorry, your description is too cluttered and not very good readable (did you read Writeup Formatting Tips?) to make sense to me.

But there are a few things you should know: You can downgrade your string with Encode::encode_utf8 into a "byte string", the reverse function is decode_utf8 in the same module.

What happens to the strings inside your database is subject to the DB configuration and the options to the DBD module you're using (DBD::mysql probably).

See also encodings and Unicode, Encode, perluniintro and perlunifaq.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found