in reply to Re^2: Russian Language read from mysql into perl script problem
in thread Russian Language read from mysql into perl script problem
Ok, my assumption was wrong. My question is still relevant, so I'll ask it again, with some additional questions.
What content type do you specify in the actual HTTP header. You've only shown the the content type you tell the browser the header should have contained.
How do you encode the HTML you send to the browser?
What do you get if you Dump the value you get from the database? (Output sent to STDERR, so you'll probably have to check your logs.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Russian Language read from mysql into perl script problem
by powerhouse (Friar) on Feb 24, 2010 at 09:13 UTC | |
What content type do you specify in the actual HTTP header. You've only shown the the content type you tell the browser the header should have contained. Response: Here is the html output perl is printing: That is the first part of the header. How do you encode the HTML you send to the browser? Response: I don't really 'encode' it, here is how I write that page that has the problem displaying the database content:
Ok, I will now go install the dump system to get the dump. I'll have to read the doucmentation to figure our where the dump will go, not sure since this is from a page not in the script. Guess I could make a script just of this page should I need to. Thanks again!! Will update asap.
thx, Richard | [reply] [d/l] [select] |
|
Re^4: Russian Language read from mysql into perl script problem
by powerhouse (Friar) on Feb 26, 2010 at 09:10 UTC | |
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: that did not do it. Still see just ???? marks in the out put on the page. Any ideas now?
thx, Richard | [reply] [d/l] [select] |
by powerhouse (Friar) on Feb 28, 2010 at 09:00 UTC | |
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 | [reply] |
by Anonymous Monk on Nov 30, 2014 at 08:44 UTC | |
I'm curious. | [reply] |
by Anonymous Monk on Nov 30, 2014 at 20:44 UTC | |
Has anyone seen this dump? See what caused it? I'm curious. Devel::Peeks Dump() subroutine? The situation is real simple decode data you retrieve, encode data you send, the end :) perlunitut: Unicode in Perl#I/O flow (the actual 5 minute tutorial) | [reply] |