httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@kineticode.com>
Subject Re: Apache::Request, APR::Table and UTF8
Date Wed, 06 Oct 2004 04:04:08 GMT
On Oct 5, 2004, at 6:03 PM, Joe Schaefer wrote:

> I don't want to move towards a Tower of Babel within apreq2.
> Supporting a few major charsets should be ok.  What I'm trying
> to decide is how to map utf8 key-value pairs into the apreq_value_t
> above.  Do we really need a dedicated perlutf8 flag, or can we
> use APREQ_CHARSET_UTF8 - so that the apreq_value_t's data will
> be meaningful to non-perl apps?

You need perlutf8 in order for Perl to recognize a string as utf8 so 
that things like length() and substr() work properly. You need 
APREQ_CHARSET_UTF8 if you want the encoding of strings to be meaningful 
to other languages.

Regards,

David


Mime
View raw message