Eric Brine
Eric Brine
Fix: ``` void from_string(self,str) uuid_context_t *self; - char *str; + SV *str_sv; ALIAS: Data::UUID::from_hexstring = F_HEX Data::UUID::from_b64string = F_B64 PREINIT: + STRLEN len; + char *str = SvPV(str_sv, len); perl_uuid_t...
Oops, that "fix" only fixes the first code sample, but not the second. Unfortunately, I've already spent too much time on this today.
I have reviewed the code in hash_to_amqp_table affected by its third argument. It's fine. (In fact, it might be the only place that handles magic!) This appears to be a...
Everything you've just said is consistent with my earlier conclusion. Let's comfirm it. Add the following before your call to queue_bind: ``` use Data::Dumper; { local $Data::Dumper::Useqq = 1; local...
Wow. That's exactly what you used? If so, I stand corrected. Maybe something is refusing to compare values of type AMQP_FIELD_KIND_UTF8 against values of type AMQP_FIELD_KIND_BYTES? If so, you can...
Sounds like something like force_utf8_in_header_strings is needed here too. That said, the force_utf8_in_header_strings code looks buggy to me. (Should use SvPVutf8 instead of SvPV, Otherwise, the strring "Éric" can result...
> Pretty sure there's magic in Perl now that utf8 is so built-in where all hard-coded strings are automatically encoded to UTF-8. Most definitely not. That would be extremely inefficient....
A value of type AMQP_FIELD_KIND_UTF8 is apparently never equal to a value of type AMQP_FIELD_KIND_BYTES, and NAR uses the internal storage format to decided on the type of the value....
@manchicken, Are you implying `perl` might treat code from `-e` differently than code from a file? It doesn't. Feel free to test it. Even with `use utf8;` in effect, ASCII-only...
No. Without `when`, this issue is moot.