>>>>Why doesn't LIKE operator match the data when encoding pragma (any) is 
>>>>used?
>>>>
>>I followed your advice and used DBD::AnyData but the symptoms are the
>>same - no match with encoding pragma (iso-8859-2) and like operator.
> Yes, you're right. I'm sorry, I originally made that suggestion after 
> doing a test but the test case was bad.  Did you try experimenting with a 
> user-defined-function with DBD::CSV?
>
> I'm working on this issue but I don't have a lot of time for it right now. 
> If anyone has any suggestions or patches, I am all ears.
> -- 
> Jeff

I intended to avoid encoding pragma. So whenever I go to or from a non-Perl 
context I use encode/decode functions which convert a Perl string to 
relevant octects or octets to a Perl string.
In my case utf8 octets because a DBD driver treats chars over \x7F as utf8.
This way a bit more complicated but works.
Radek H. 


Reply via email to