in reply to Re: Perl mySQL and £ signs
in thread Perl mySQL and £ signs
What comes back is a utf-8 encoded string, but it's not marked as a Unicode string in perl.
What you need to do is help perl out by marking the string returned by DBI/mysql as a Unicode string:
use Encode qw(_utf8_on); _utf8_on($field_value_returned_by_dbi);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl mySQL and £ signs
by graff (Chancellor) on Sep 19, 2005 at 16:39 UTC |