Mailing List Archive


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

Re: [tlug] OT-Japanese in PHP



On 5/27/05, Mark Sargent <powderkeg@example.com> wrote:
> from a php forum, I changed my settings in php.ini to render UTF-8
> including changing the database field that contained Japanese to UTF-8
> and it displays fine in phpmyadmin. I then changed charset to UTF-8 in
> the php page, but, it still won't display J from the database. Anyone
> got a solution, apart from giving up, which I detest..? Cheers.

Can you try to add these two lines at the beginning of your php script?

---
mb_http_output("utf-8");
ob_start("mb_output_handler");
---

I read the documentation about this about one year ago, and I don't
remember it but I use it and it works well ^^.

Evan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links