I could solve this by always printing variables directly, but this also happens when I use those variables with DBI, and these values get truncated when saved in my database. I am calling SET NAMES utf8 when creating the DB connection.

I could solve this by always printing variables directly, but this also happens when I use those variables with DBI, and these values get truncated when saved in my database. I am calling SET NAMES utf8 when creating the DB connection.

Any solution? Thanks in advance,

Al3ss

`use utf8;` allows you to use UTF-8 enocding directly in your Perl script. It does so by converting into an internal representation. You have to convert back to UTF-8 to print it.