Topic: How to change the <pun_char_encoding> parameter to something else?

The default seems to be iso-8859-1. I want to change it to UTF-8.

Re: How to change the <pun_char_encoding> parameter to something else?

That's set in your language pack, lang/language_name/common.php. I wouldn't change it if I were you, since you're likely to create an awkward charset situation in your database that will be difficult to deal with when full UTF-8 support comes in 1.3.

Re: How to change the <pun_char_encoding> parameter to something else?

Smartys wrote:

That's set in your language pack, lang/language_name/common.php. I wouldn't change it if I were you, since you're likely to create an awkward charset situation in your database that will be difficult to deal with when full UTF-8 support comes in 1.3.

Thanks, Smartys!
I had the following problem:
I've installed a Bulgarian UTF8 encoded translation. However, the admin page was not translated and shown in English.
If not logged in, I get UTF-8 encoded html pages in browser and iso-8859-1 encoded ones if logged as admin.
While creating a category/forum, they names get encoded/escaped in iso-8859-1 in the form &#1234. So, each unicode symbol gets written as 5-6 ascii characters. I guess this hits the limit of the category name field in the database, having as a result that category names got stripped somewhere in the 10-12 character.

I fixed this issue by changing the lang/English/common.php  lang-encoding parameter from iso-8859-1 to UTF-8. I guess this is safe as ASCII characters under 127 get encoded the same in both encodings.