httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <>
Subject Re: Apache::Request, APR::Table and UTF8
Date Tue, 05 Oct 2004 17:25:13 GMT
On Oct 5, 2004, at 10:18 AM, Joe Schaefer wrote:

>>>   0 - unknown
>>>   1 - ASCII
>>>   2 - UTF-8
>>>   3 - UTF-16
>>>   [ room for 4 more iso? charsets ]
>> Note that data encoded in UTF-8 is not the same as decoded to Perl's 
>> internal
>> utf8 format. The latter has the same bytes, but the "utf8" flag has
>> been set on the variable
> Sorry, I don't quite follow.  We store params in a C struct that's
> currently devoid of any charset information.  Boris wants to mark
> certain params as being utf8, so when a later Apache::Request module
> fetches them, they'll be returned from param() as utf8 strings instead
> of byte strings (iow, param will set the "utf8" flag for them).

Yes, that's what I understood, as well. I was just pointing out that 
the utf8 flag is not the same as using the UTF-8 character set, and I 
was saying this because "utf8" was not one of the options you mentioned 



View raw message