Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: UTF-8 from a CGI script

by fizbin (Chaplain)
on Oct 22, 2005 at 03:24 UTC ( [id://502170]=note: print w/replies, xml ) Need Help??


in reply to UTF-8 from a CGI script

In addition to what was already mentioned, be sure that when you open the xml file you open it in utf-8 mode too, if you're doing the open yourself. (If you're using an xml-specific module to which you pass a filename or url, you can probably trust the module to take care of this) By default it will probably be opened as iso-latin-1, not utf-8.

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Log In?
Username:
Password:

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

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

    No recent polls found