Geoffrey Young <[EMAIL PROTECTED]> writes:
[...]
before we go ahead with this I'd really like to get some more opinions on
it.
My thoughts (off the top of my head):
1) During set/merge/add operations, SV keys and SV values should
be added to the apr_table_t as if SvPVbyte were called on the SV
(instead of just SvPV). I say "as if" because you don't want to alter the caller's SV. FETCH/get operations should remain just as they are.
+1
supposedly SvPVbyte does exactly what I was suggesting (i.e. encode into a utf8 string if it's a PV+UTF8:
SvPVbyte Like "SvPV", but converts sv to byte representation first if necessary.
char* SvPVbyte(SV* sv, STRLEN len)
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]