Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] MySQL and utf8 Japanese characters. Again.



On Date: Fri, 28 Apr 2006 15:49:41 +0900, Dave M G <martin@example.com> wrote:
> But on my testing environment at home, the Japanese text displays as 
> question marks.
> 
> Japanese text that is written directly into the PHP/HTML displays 
> correctly. Only Japanese text retrieved from the database displays 
> incorrectly.

This might help narrow things down a bit:

In Firefox, check page info (right click - "View Page Info" in the menu) to see
what encoding the browser thinks it's displaying for the page mentioned
above. Presumably the text that displays correctly is in this encoding, and the
mojibakified text isn't.

> Further, when I look at the database in phpMyAdmin, it displays the 
> Japanese correctly, thus indicating that it is possible to see the text 
> from within a PHP/HTML page.

Do the same for this page. 

Are the encodings the same?

Dave



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links