- b2evolution Support Forums
- b2evolution Development
- Internationalization & Localization
- re-request: utf-8 encoding script trouble
#1 May 23, 2007 03:55
When I try to post anything in Japanese it turns out all ????s. I have tried a few things to solve the problem:
-set everything in _locales.php to utf-8
-set up everything in the b2e blog settings to Japanese local with utf-8 (and set regional and user settings as well to Japanese)
-added the following code (that I found at http://forums.b2evolution.net/viewtopic.php?t=5721) to the _advanced.php file:
I found a thread that I thought might help: http://forums.b2evolution.net//viewtopic.php?p=51837#51837
In the thread, smpdawg says to run the following script:
This script will take some time to execute and may even time out if your install of PHP have a short script execution time. When it is finished it will generate a list of ALTER statements that can be used to fix your existing database. All you need to do is copy these commands into the SQL window of phpMyAdmin and execute them.
I changed the 'YOUR' fields to my info like he said, but Safari returns the following error message when I try to run the script that I uploaded to my blog (http://www.en-now.com/b2e/blogs/install/fixcharset.php):
Parse error: syntax error, unexpected T_VARIABLE in /data/12/0/43/39/858854/user/879785/htdocs/b2e/blogs/install/fixcharset.php on line 12
I don't know what it's talking about... I used the same settings that I originally used to install b2evolution.
Anyone know why I'm getting this error? Unfortunately, I don't know anything about PHP... :( Many thanks in advance.
Form is loading...