in reply to Re^3: Russian Language read from mysql into perl script problem
in thread Russian Language read from mysql into perl script problem

Ok, I got the dump now, sorry for the delay, hope you did not go away and come back to tell me the correct way or point me in that way...

bash:# perl index.cgi pg=MyBackOffice do=language_tag_editor view=edit +Tag lngId=151 shell=1 SV = PV(0x76506e8) at 0x6691000 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x7dabbf0 "<form method=\"post\" action=\"http://localhost\" en +ctype=\"multipart/form-data\" name=\"edit_form\">\n<input type=\"hidd +en\" name=\"pg\" value=\"MyBackOffice\" /><input type=\"hidden\" nam +e=\"do\" value=\"language_tag_editor\" /><input type=\"hidden\" name +=\"view\" value=\"saveTag\" /><input type=\"hidden\" name=\"lngId\" +value=\"151\" /><input type=\"hidden\" name=\"r\" value=\"\" /><inp +ut type=\"hidden\" name=\"q\" value=\"\" /><input type=\"hidden\" na +me=\"p\" value=\"\" /><input type=\"hidden\" name=\"timel\" value=\" +1267175109\" />\n\t\t<table border=\"0\" cellpadding=\"2\" cellspaci +ng=\"2\" align=\"center\" width=\"650\">\n\t\t\t<tr>\n\t\t\t\t<td cla +ss=\"td_header_green\" colspan=\"2\">\n\t\t\t\t\tModify a Language Ta +g\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"label_ +cell\">\n\t\t\t\t\tLanguage:\n\t\t\t\t</td>\n\t\t\t\t<td class=\"non_ +label_cell\">\n\t\t\t\t\tRussian\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t< +tr>\n\t\t\t\t<td class=\"label_cell\">\n\t\t\t\t\tLast Modified:\n\t\ +t\t\t</td>\n\t\t\t\t<td class=\"non_label_cell\">\n\t\t\t\t\t02/23/10 + 01:24 PM\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class= +\"label_cell\">\n\t\t\t\t\tTag:\n\t\t\t\t</td>\n\t\t\t\t<td class=\"n +on_label_cell\">\n\t\t\t\t\tJoinPage_Final_RegisterButton\n\t\t\t\t</ +td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"label_cell_center\" + colspan=\"2\">\n\t\t\t\t\tCurrent Content:\n\t\t\t\t</td>\n\t\t\t</t +r>\n\t\t\t<tr>\n\t\t\t\t<td class=\"non_label_cell_center\" colspan=\ +"2\">\n\t\t\t\t\t???????? - ???????????????? ????\n\t\t\t\t</td>\n\t\ +t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"label_cell_center\" colspan +=\"2\">\n\t\t\t\t\tNew Content:\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<t +r>\n\t\t\t\t<td class=\"non_label_cell_center\" colspan=\"2\">\n\t\t\ +t\t\t<textarea name=\"tagvalue\" rows=\"10\" cols=\"85\" onfocus=\"t +his.select()\" class=\"formfield\">???????? - ???????????????? ????</ +textarea>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t\n\t\t\t<tr>\n\t\t\t\t<t +d class=\"label_cell\" colspan=\"2\">\n\t\t\t\t\tEnglish Version Cont +ent:\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"non +_label_cell_center\" colspan=\"2\">\n\t\t\t\t\tI agree - Register Me\ +n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"label_ce +ll\">\n\t\t\t\t\tEnglish Version Last Modified:\n\t\t\t\t</td>\n\t\t\ +t\t<td class=\"non_label_cell\">\n\t\t\t\t\t02/22/10 09:36 PM\n\t\t\t +\t</td>\n\t\t\t</tr>\n\t\t\t\t\n\t\t\t<tr>\n\t\t\t\t<td class=\"non_l +abel_cell_center\" colspan=\"2\">\n\t\t\t\t\t<input type=\"submit\" n +ame=\"choice\" value=\"Preview Changes\" class=\"submit\" />\n\t\t\t\ +t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t</form><br /><br />"\0 CUR = 2240 LEN = 2248
See even in their they are all ??? marks...

That is what makes me think Perl does not like the cryllic text or something.

BTW, I tried doing this:
use open ':utf8'; use utf8;
that did not do it. Still see just ???? marks in the out put on the page.

Any ideas now?

thx,
Richard

Replies are listed 'Best First'.
Re^5: Russian Language read from mysql into perl script problem
by powerhouse (Friar) on Feb 28, 2010 at 09:00 UTC
    @ikegami or anyone else, I put the dump on there, do you have any idea why Perl cannot understand or read the cryllic language?

    I have tried quite a few things and cannot find an answer. Hope someone has had the same problem that fixed it so they can point me in the right way.

    thx,
    Richard
Re^5: Russian Language read from mysql into perl script problem
by Anonymous Monk on Nov 30, 2014 at 08:44 UTC
    Has anyone seen this dump? See what caused it?

    I'm curious.