note
choroba
Where does your problematic string come from? If it comes from the code, <c>
use utf8;</c>
If the encoding is different, you can replace <c>utf8</c> with <c>encoding('iso-8859-2')</c> etc.<p>
If the string comes from a filehandle, <c>
open my $FH, '<:utf8', ...</c>
If the encoding is different, you can replace <c>utf8</c> with <c>encoding(iso-8859-2)</c> etc.<p>
If the string comes from a DBI, your driver might support encoding (for example, Postgres's <c>connect</c> supports <c>pg_enable_utf8</c> attribute.<p>And so on.
961193
961193