I am having problems with it to.
I added this to the MySql database with phpMyAdmin:
Карту был заблокирован по следующей причине:
and it added it correctly, that is what I see in the database.
however when Perl gets it and prints it to the page, I see this:
????? ??? ???????????? ?? ????????? ???????:
for each cryllyc character, it replaces it with a ? and I even changed my page encoding to:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
that did not do it either.
I am lost as to why I can see it correctly in phpMyAdmin, but not in my Perl output pages.
If I use my language tag editor and change it with the form in my perl script, somehow it saves as encoded this way:
%26#1050;%26#1072;%26#1088;%26#1090;%26#1091; %26#1073;%26#1099;%26#1083; %26#1079;%26#1072;%26#1073;%26#1083;%26#1086;%26#1 082;%26#1080;%26#1088;%26#1086;%26#1074;%26#1072;% 26#1085; %26#1087;%26#1086; %26#1089;%26#1083;%26#1077;%26#1076;%26#1091;%26#1 102;%26#1097;%26#1077;%26#1081; %26#1087;%26#1088;%26#1080;%26#1095;%26#1080;%26#1 085;%26#1077;:
(I had to change the & to %26 or the broswer changed the encoding back to cryllyc)
Any ideas as to why Perl does not seem to like the characters in cryllyc?
BTW, here is how I try to display it on the page:
for debugging:
#perl script:
print "encoded: " . encode("cp1251", $_tr->{value});
Thank you,
Richard