I have a problem with accented characters (scandic characters ä, ö, å) on document titles.
If I make a new document and save it everything seems to be ok. But if I edit the same document and save it, all accented characters on document title will transform to unwanted characters. For example "ä" will transform to "ä"" and so on.
MODx 0.9.6.2
- Default installation => Manager configuration, Character encoding: utf-8
MODx config-inc.php
- $database_connection_charset = ’utf8’;
- $database_connection_method = ’SET CHARACTER SET’;
Database
- DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
XAMPP for Windows 1.6.0a
- Apache 2.2.4
- MySQL 5.0.33
- PHP 5.2.1
On same environment MODx 0.9.6.1p2 works just fine.
Does anyone else have same kind of problems or do I have a problem with my XAMPP configuration?
I had been waiting for this patch, thanks a lot for the link !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
The problem is not limited to titles but to pretty much all texts.
Happily, adding that
global $database_connection_method;
as explained above is all I needed to fix all accented letters issues in a freshly updated (0.9.6.2) site.
-
MODX Staff
- 12,272 Posts
Can you provide a complete list of all files and line numbers that need this patch in Jira, please?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Thanks
If not fix the bug, the site can work exactly only when you creat a new doc.