xAJAX and UTF-8 Server Configuration

September 20th, 2006

Dear all Tags and mosKnowledgeBase customers,

We have been aware for some time that under certain circumstances some xAJAX applications encountered encoding issues. xAJAX uses UTF-8.

We have been unable to replicate the encoding issues on our live server or our local desktops – until today.

We have found a setting in php.ini that may help, there are other tweaks that we may be able to make to Joomla to further aid UTF-8. There is also a difference between using Internet explorer and Firefox (They handle things differently)

There are many things that need to be investigated in order to acheive UTF-8 in Joomla 1.0.x (In Joomla 1.5 these things are taken care of). Running a completly UTF-8 site is difficult in Joomla 1.0.x

We are happy to look at any Tags or mosKB sites that are having issues, we will attempt to work things out for free in our time if you send us the details using the form at http://www.phil-taylor.com/send-request

For the more advanced among you, try the following if your site has issues rendering tags/mosKB:

create/append .htaccess with:

php_value default_charset UTF-8

in php.ini change the line:

default_charset = “UTF-8″

in the default index.php Joomla files add after the < ?php tag:

header(‘Content-Type: text/html; charset=utf-8′);

.

Leave a Reply