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.
You are not logged in. Please login or register.
PunBB Forums → General discussion → 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.
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.
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 Ӓ. 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.
PunBB Forums → General discussion → How to change the <pun_char_encoding> parameter to something else?
Powered by PunBB, supported by Informer Technologies, Inc.