in reply to Re^3: SQLite returns funny characters
in thread SQLite returns funny characters

Hi. I just upgrade to version DBD::SQLite 1.74. I suspect it was not installed. However, the previous problem went away. The new problem is;

$insert->execute(10, '°C'); $insert->execute(80, '°F'); with error messages for both lines UTF-8 "\xB0" does not map to Unicode

The other (following) response with this thread by roho I suspect may be the answer here. I am unsure of how to implement his/her recommendation.

Regards JC.....

Replies are listed 'Best First'.
Re^5: SQLite returns funny characters
by choroba (Cardinal) on Jul 11, 2024 at 21:31 UTC
    Did you save the source code using the UTF-8 encoding?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]