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.
Not a member yet? Click here to register.
Forgot Password?

How can I change language to UTF-8

Asked Modified Viewed 11,982 times
V
vanduongsuper
V
vanduongsuper 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Please help me,
I want to change language to vietnamese and already format all file to UTF-8 but my site do not work.
0 replies

6 posts

B
bdo
B
bdo 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
answered
Newbie

locale/[language]/global.php change line:
$locale['charset'] = "iso-8859-1";

to:
$locale['charset'] = "UTF-8";
Edited by bdo on 16-11-2008 07:46,
0 replies
G
GameAction
G
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

@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 ?
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

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).
Edited by smokeman on 16-11-2008 14:45,
0 replies
Q
Quartzkyte
Q
www.php-fusion.co.uk/../../images/smiley/cool.gif

Mike
---------------------------------------
Quartzkyte, admin @ French N.S.S.
  • Senior Member, joined since
  • Contributed 404 posts on the community forums.
  • Started 40 threads in the forums
answered
Senior Member

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.
0 replies
A
archeens
A
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

nop didnt helped :(
0 replies
— 11 months later —
D
dothemath
D
range'>****************************************
The unofficial Hebrew support site for PHP-Fusion
range'>****************************************
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

This Mod enable the PHPFusion v.7 CMS to work with UTF-8 encoding (mysql charset and collation is utf_unicode_ci or utf_general_ci).

Mod PHP-fusion v.7 to work with UTF-8 encoding

Enjoy!
0 replies

Category Forum

Locales Forum - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 7 members

7 participants

G
G
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 2 threads in the forums
Q
Q
www.php-fusion.co.uk/../../images/smiley/cool.gif

Mike
---------------------------------------
Quartzkyte, admin @ French N.S.S.
  • Senior Member, joined since
  • Contributed 404 posts on the community forums.
  • Started 40 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
B
B
bdo 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
D
D
range'>****************************************
The unofficial Hebrew support site for PHP-Fusion
range'>****************************************
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 1 thread in the forums
V
V
vanduongsuper 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
A
A
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 1 thread in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet