On Fri, 28 Feb 2003, Daisuke Maki wrote:

> I noticed that when you use AxOutputCharset, the content_type of a
> response is set to html (AxKit.pm line 792):
>
>    $r->content_type('text/html; charset=' . ($AxKit::Cfg->OutputCharset ||
> "UTF-8"));
>
> Wouldn't this be a problem if you were trying to send out, say, a
> plain-text output?

No, because it only does the above if content_type != changeme (which in
the case of sending other content types, it would be set).

> The other thing is that while trying to look for the culprit, I turned
> the check for $AxKit::Cfg->{output_charset_ok} in A::A::ConfigReader
> *off*, and immediately got a "use of wide characters in print..." error.
> Perl 5.8 seems to be real picky about this stuff... Since that was a
> direct result of my hacking around the code it may just be an accident
> but it still kinda worries me.

There are a lot of "issues" we will need to look into for 5.8. I'm
developing a large application on 5.8 now, so I may get to look into it
thoroughly.

-- 
<!-- Matt -->
<:->get a SMart net</:->
Spam trap - do not mail: [EMAIL PROTECTED]

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

Reply via email to