Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^4: Writing UTF8 Filename

by Juerd (Abbot)
on Nov 18, 2007 at 00:00 UTC ( #651466=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Writing UTF8 Filename
in thread Writing UTF8 Filename

Juerd, I am wondering what you mean when you keep saying "encode explicitly":

Perhaps it is time to read the Perl Unicode Tutorial :-).

If they began life as utf8, they do indeed very probably stay that way if you do nothing to them, but if that were the case, I think you might not have been asking the question that you have.

Encoding explicitly means to use encode() or encode_utf8(), in this case. It would also require that the values coming from the database are decoded at some point. The DBD::mysql module can do this for you. I don't know if it is.

Comment on Re^4: Writing UTF8 Filename

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2016-02-08 15:35 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (276 votes), past polls