Output character encoding

2012-06-05 Thread Arnon Weinberg
How can I set the output character encoding of Apache::ASP output? Regular perl/CGI output defaults to ISO-8859-1 encoding, and may be easily modified using the use open prama or binmode() function. Here is my test script: # Latin-1.cgi: ## #use open ( ":utf8", ":std" ); #binmo

Re: Output character encoding

2012-06-05 Thread Warren Young
On 6/5/2012 3:02 AM, Arnon Weinberg wrote: How can I set the output character encoding of Apache::ASP output? There are several places where you set this, not just one, and they all have to agree to guarantee correct output: DB -> back end -> Apache -> HTML -> Apache::ASP -> browser

Re: Output character encoding

2012-06-05 Thread Arnon Weinberg
On 2012-06-05 05:55, Warren Young wrote: There are several places where you set this, not just one, and they all have to agree to guarantee correct output: DB -> back end -> Apache -> HTML -> Apache::ASP -> browser If they do not all agree, you can either get mixed encodings or encoding

Re: Output character encoding

2012-06-05 Thread Thanos Chatziathanassiou
> With my test cases (provided) I have carefully narrowed down the > inconsistency to Apache::ASP, since everything else is either not > applicable or the same. > Could you be a bit more specific on this ? I've built many a site in international character sets and using Apache::ASP for well ove

Re: Output character encoding

2012-06-05 Thread Arnon Weinberg
On 2012-06-05 14:13, Thanos Chatziathanassiou wrote: With my test cases (provided) I have carefully narrowed down the inconsistency to Apache::ASP, since everything else is either not applicable or the same. Could you be a bit more specific on this ? Er, not sure how I can be more s

Re: Output character encoding

2012-06-05 Thread Josh Chamas
On 6/5/12 2:02 AM, Arnon Weinberg wrote: How can I set the output character encoding of Apache::ASP output? ... Hi Arnon, All, I have gone over the thread and been stumped on this for a while. Bottom line it looks like Apache::ASP does not play well with Encode, and this seems to me to be