Welcome Guest, Not a member yet? Register   Sign In
Japanese character support
#1

[eluser]travoltron[/eluser]
Hi all,

Another question for all of you:

I've got to internationalize my site, which means loading different language files. For characters that run the usual A-Z, 0-9 gamut, this is fine, but as I try to add Japanese characters through a language file, the characters are coming out as gibberrish.

Hello is being parsed as こんにちは, instead of こんにちは in my view. All my files are encoded as UTF-8. Any ideas anyone?

Greatly appreciated all.
#2

[eluser]umefarooq[/eluser]
hi you have to set your html file charset also UTF-8

Code:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
#3

[eluser]InsiteFX[/eluser]
You can also add this to your .htaccess file if you have one!
Code:
// change the 5 to 4 if running PHP 4
<ifModule mod_php5.c>
    php_value default_charset utf-8
</ifModule>

InsiteFX
#4

[eluser]travoltron[/eluser]
I'll try the .htaccess route, but the charset is already defined in my &lt;head&gt;
#5

[eluser]travoltron[/eluser]
Nevermind, I'm a total moron. I defined them in my head, but never actually loaded it. Thanks for the help!




Theme © iAndrew 2016 - Forum software by © MyBB