in reply to Re^2: Different presentation by SQLite
in thread Different presentation by SQLite

Rather than printing it, which really doesn't tell you much (looking correct might even mean that it's wrong!), try dumping the character numbers. Also check what perl thinks is the "length".
my $x= "\x{B0}F"; say map sprintf("%02X ",ord), split //, $x;

One problem is that the degree sign 0xB0 is within the lower 0xFF of unicode, so perl can represent it in both ascii form and in utf-8, and this can make it extra confusing to track down the problem.

Some pointers that might help the debugging: