Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

How can I change language to UTF-8

Please help me,
I want to change language to vietnamese and already format all file to UTF-8 but my site do not work.
locale/[language]/global.php change line:
CodeDownload  
$locale['charset'] = "iso-8859-1";


to:
CodeDownload  
$locale['charset'] = "UTF-8";

@bdo that's not the problem.

you have to change all database content to utf and it is not easy cause every èòìàù character will show ?
Can't this be done by taking a db-backup from Admin-panel on the site, and then import the db-backup via phpMyAdmin and import it in the right language/character ??

I do this for both my own sites and for my users on my site too. Sometimes we have problem with showing tha danish letters æøå/ÆØÅ on some servers. I work around this by importing the db-backup in phpMyAdmin and then choose for character Latin1 (for us Danish users).
Yes, I do like smokeman : save the DB with the option "drop table if exists", use a nice text editor (I use Notepad++), convert to UTF-8 (Notepad++ has the feature), save and re-import the DB while carefully chosing the import charset in PHPMyAdmin.
But you still have to do what bdo stated to avoid mixing charsets in the future.
nop didnt helped :(
Thread Information
Author
vanduongsuper
Posted In
Replies
7 posts
Views
10,383 times
Last Post
Last updated on 10 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: GameAction, Quartzkyte, smokeman, bdo, dothemath, vanduongsuper, archeens