have your set table column's character set  in your mysql to
shift_jis?
 also check your DB  connection .

 try this:
 $sql = "SET character_set_results=Shift_jis";
 mysql_query($sql, $connection);

 hope that working.

other 2 setting to check out:

character_set_client
character_set_connection

web site:
http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html

On Nov 23, 1:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Im trying to make a Japanese learning site that will have Japanese
> characters and English explanations etc. But I cannot get my Japanese
> characters to print from my database properly :(
>
> I believe I have the appropriate meta tag ... <meta http-
> equiv="Content-Type" content="text/html; charset=Shift_JIS">
>
> If I write the Japanese directly into the HTML all is fine but when I
> call it from mysql all I get is ?'s Viewing the data in phpmyadmin
> works aswell.
>
> Ive tried all the different collation types in my database and still
> no luck.
> Ive never done any foreign language sites before this is really new to
> me can anyone please help?
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to