in reply to Re^3: UTF-8 webpage output from MySQL
in thread UTF-8 webpage output from MySQL
Since you have a binmode STDOUT, ':utf8;' somewhere, you don't need to encode the template's output anymore. Chances are that you don't need to encode anything at all.
The next debugging step is: check the data from the database. Do these strings have the UTF8 flag set? (remeber Devel::Peek.). You can also check the codepoints to see if the data arrived correctly.
Check the same thing for the tempalte's output.
Also make sure that you have warnings enabled, and check your error.log for warnings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: UTF-8 webpage output from MySQL
by boboson (Monk) on Jan 23, 2008 at 14:27 UTC | |
by moritz (Cardinal) on Jan 23, 2008 at 15:21 UTC | |
by boboson (Monk) on Jan 25, 2008 at 07:42 UTC | |
by boboson (Monk) on Jan 24, 2008 at 08:35 UTC |