in reply to RegExp breaks in Perl 5.10
I would propose that you force utf8 context on both sides, regexp pattern and variable. Maybe the errors will go away.