Warren Young wrote:
Thanos Chatziathanassiou wrote:

I have an interesting problem with UTF-8 charset and Apache::ASP


The problem is that the ASP code runs with the LANG environment variable unset. (I'm not sure if it's Apache or mod_perl doing this.) In this situation, the Perl interpreter runs without Unicode support. I posted about a similar problem on the 25th of last month, which you may find enlightening.

I'm not sure what the right solution to the problem is. There are a number of things that could be done. In order of my preference:

1. Find out who is unsetting LANG, and make 'em stop it.


mod_perl notoriously does not set up %ENV correctly. In order for this to happen, one must use PerlPassEnv LANG, or use PerlSetEnv LANG $LANG in the httpd.conf.

Does this resolve the UTF8 issues?

Regards,

Josh

________________________________________________________________________
Josh Chamas, Founder    | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com   | Apache::ASP - http://www.apache-asp.org



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to