Posted 16 August 2011 - 11:53 PM
I've just begin using ProcessWire. Because my site is written in Finland, it contains lots of ä's (a with dots) and ö's.
The problem occurs in every field where I use these characters, it cuts the field content right there. E.g. "hyväntekeväisyys" cuts to "hyv". You see, that's a problem.
Is it the default template, UTF-8 or what?
Thank you for your assistance,
Posted 17 August 2011 - 02:25 AM
If your DB has UTF-8 set, your templates are UTF-8 (important!), you might want to try this:
In your /site/ directory, there is config.php. Locate line 137 and uncomment this:
$config->dbSetNamesUTF8 = true;
If it doesn't help, we'll move on to different solutions
Posted 17 August 2011 - 06:02 AM
PW should be all the way UTF-8 and I have had no issues with special chars at all. Template encoding doesn't matter (only if want to write special chars directly to the template files). So agree with Adam, problem probably lies between php & mysql. Is your db tables UTF-8?
Posted 17 August 2011 - 06:59 AM
I'm thinking about just placing that 'AddDefaultCharset UTF-8' to the default htaccess file so that this doesn't come up for anyone else. Though I'm not certain that's the problem here. If this solution doesn't do it, I'm guessing Akseli may be running an older 2.0 version that still had some latin1 tables in it and need to be converted to utf8.
Akseli what version are you running?
Posted 20 August 2011 - 05:40 AM
Use this information as you will
Posted 21 August 2011 - 12:08 PM
However, that workflow applies regardless of version or CMS, so if you are using best practices with your workflow then use 2.1.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users