0000016: Feature: Unicode support – Mantis

I need a plan for Unicode support in Mefeedia. Amazingly, PHP is rather bad in this regard. I’m using PHP and Mysql. Here’s a page that clearly shows the need for this.

So I have a question: what is the basic approach?

– Make sure stuff is stored in UTF-8 in MySQL?
– Make sure HTML uses UTF-8?
– What about the PHP part of the equation?

Any pointers to common sense around this are very welcome. Any good libraries?

0 thoughts on “0000016: Feature: Unicode support – Mantis

  1. Right now in the URL you mention I get: Content-Type: text/html when I should get Content-Type: text/html; charset=utf-8

    You also need to check the http-equiv=”Content-Type” which is currently not set to utf-8

    Make sure Apache is set to send everything as utf-8. you might want to add the following to .htaccess: AddCharset UTF-8 .php or this to your httpd.conf file: AddDefaultCharset UTF-8

    I also have a bunch of links I reference here: http://del.icio.us/raster/unicode

  2. erg, ignore last, it’s Content-Type: text/html;charset=UTF-8. PHP will parse the header and output as utf8.. again, not sure why no configuration setting for this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s