Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Differences in UTF-8 html form

by jmanning2k (Pilgrim)
on Jan 10, 2005 at 17:01 UTC ( [id://420998]=note: print w/replies, xml ) Need Help??


in reply to Differences in UTF-8 html form

Can you check the values of the environment var LANG on both server systems? I suspect one is set to something like 'en_US.ISO8859-1' and the other is 'en_US.UTF-8'. (where en_US may be replaced with your local default language/charset)

Remember to check as the user running the web server. However, if your shell startup scripts don't mess with lang, they are probably the same for all users.

Setting LANG to 'C' or both to the same value will probably give consistent formatting. You can probably do that in mod_perl startup.pl or at the start of a standalone cgi app.

$ENV{'LANG'} = 'en_US.UTF-8';

~J

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-20 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found