|go ahead... be a heretic|
Re^4: HTML::Entities and Unicode quotesby ikegami (Pope)
|on Aug 20, 2011 at 20:59 UTC||Need Help??|
You're making my point for me. is_utf8 should never ever ever ever be used. So what are you doing using it, especially to someone who think it might be ok to use it?
No, I didn't. The UTF8 flag does not indicate any such thing.
Not only are you showing a function you shouldn't be using, you're showing how to use it incorrectly.
There's nothing wrong with the utf8:: module. There's something wrong with the is_utf8 function, though. is_utf8 should never ever ever ever be used.
On the other hand, there's absolutely no problem using ugprade and downgrade. First, they're not suppose to have any effect whatsoever. Secondly, they are required to work around bugs in Perl and XS modules.
You're the one setting the bad example. I just had to use advanced functions to show that.
Good! You seem to be implying that's bad, but if upgrade or downgrade have an effect, they are the correct tool to use. They'll only do a difference when faced with a bug, and they're the only tool that will help in that situation.