Boris Zentner <[EMAIL PROTECTED]> writes:

> In my real case, I get the data from libapreq2 in raw format and my
> desire is to convert some of them inplace to utf8. Then the rest of my
> application can rely on libapreq's functions. 

That will not work, because libapreq2 doesn't track charset encodings.
You should subclass the methods your application uses and do the
conversions in the subclass.

We could help make this a little easier by having the perl glue
convert utf8-strings to byte-strings before storing them in an 
apr_table_t, but you'd still be responsible for decoding the bytes 
on a fetch.

-- 
Joe Schaefer


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

Reply via email to