On Aug 8, 2004, at 9:14 AM, Matt Sergeant wrote:

i.e. for every fetch call, you need to do:

  SvUTF8_off(AvARRAY(av)[i]);

Now, people using your DBD can decide to upgrade the variable if they wish to, but most people who don't need to will be unaffected.

I think that this is fine as long as there's an easy way to upgrade the variable. I could use Encode::_utf8_on(), but that seems like more overhead than is necessary unless I've loaded Encode for some other use already. Perhaps there could be a module or even a DBI method that does the equivalent?

  # Psudeocode;
  sub utf8_on { SvUTF8_on($_[0]) }

Regards,

David

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to