Recent Topics

1 Nov 04, 2006 16:24    

In some of my own work, i need to be able to support different languages.

Like atm, with the gallery project, if you speak french, and try to use the accented characters then it will display incorectly.

Can someone tell me what i need to do to support different languages and how much work it is?

Some guides or examples would be great.

I would imagine, blueyed, francois, yabba or topanga would know stuff about this.

2 Nov 04, 2006 17:52

It's all about charsets. I'd just use UTF-8 throughout the application (no need to convert).

In b2evo however, there are several charsets: db_charset, evo_charset and io_charset.

You have to send the browser in which encoding the page is (e.g. "Content-type: text/html; charset=utf-8") and then use UTF-8 (e.g. "SET NAMES utf8" for the DB connection, then MySQL will send and expect data encoded in UTF8).

But beware: there are some functions in PHP, which still do not support UTF8 correctly AFAIK.

Form is loading...

powered by an open-source CMS – This forum is powered by b2evolution CMS, a complete engine for your website.