Mailing List Archive


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

Re: [tlug] Character encoding on web host's MySQL server



On Tue, 11 Dec 2007 15:56:24 +0900, Dave M G <dave@example.com> wrote:

> I just uploaded a new version of the web site, with all new and much 
> improved PHP code, and despite all indications that I have set 
> everything to use utf-8, the Japanese characters are coming up as all 
> question marks.

When you open the MySQL database, issue this query:

  SET NAMES 'utf8'

-- 
G. Stewart - gstewart@example.com

Your fault: core dumped

Attachment: pgptiDmzNb0sT.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links