Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Evolution
  • Legacy Release Archive
  • 0.9.6.2
  •  
  • <
  • 1
  • 2
  • 3
  • >
  • [fixed] Problem with accented characters on document titles#

  • 16610
    598
    QuickManager+ official project page

    Mikko Lammi, Owner at Maagit

    Lammikko Reply #1, 3 years, 4 months ago

    Reply
    • Link to this post#1
    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?


  • 36592
    965

    tkfm Reply #2, 3 years, 4 months ago

    Reply
    • Link to this post#2
    I think you need this patch.
    http://svn.modxcms.com/jira/secure/attachment/10113/set-character-set_set-names_0.9.6_branch_bugfix_1.patch


  • 16610
    598
    QuickManager+ official project page

    Mikko Lammi, Owner at Maagit

    Lammikko Reply #3, 3 years, 4 months ago

    Reply
    • Link to this post#3
    Quote from: tkfm at Sep 17, 2008, 04:41 AM
    I think you need this patch.
    http://svn.modxcms.com/jira/secure/attachment/10113/set-character-set_set-names_0.9.6_branch_bugfix_1.patch

    Thank you very much pointing me to the right direction. I have only vague understanding what this patch does but it really seems to cure all my problems with accented characters. I also noticed that same problem is discussed here.


  • 6726
    7,075
    - Former MODx evangelist
    .: COO - Commerce Guys - Community Driven Innovation :.


    MODx est l'outil id

    davidm Reply #4, 3 years, 4 months ago

    Reply
    • Link to this post#4
    I had been waiting for this patch, thanks a lot for the link !


  • 16610
    598
    QuickManager+ official project page

    Mikko Lammi, Owner at Maagit

    Lammikko Reply #5, 3 years, 4 months ago

    Reply
    • Link to this post#5
    After further investigation I have found that in my case all I need is actually this fix:

    manager\includes\extenders\dbapi.mysql.class.inc.php line 80

    Add before line "global $modx;"

    global $database_connection_method;


    This brings back my accented characters on document titles.


  • 17329
    53

    lmestre Reply #6, 3 years, 4 months ago

    Reply
    • Link to this post#6
    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.


  • 25663
    12,035


    Ryan Thrash

    MODX Co-Founder & CEO




    MODX Revolution

    Your Content, Your Way.


    Issues | Documentation | Git the Source


    Need help? Help us help you.


    rthrash Reply #7, 3 years, 4 months ago

    Reply
    • Link to this post#7
    Can you provide a complete list of all files and line numbers that need this patch in Jira, please?


  • 16610
    598
    QuickManager+ official project page

    Mikko Lammi, Owner at Maagit

    Lammikko Reply #8, 3 years, 4 months ago

    Reply
    • Link to this post#8
    Quote from: rthrash at Sep 18, 2008, 04:46 PM
    Can you provide a complete list of all files and line numbers that need this patch in Jira, please?

    As I understand this problem is already taken care of as a part of this larger patch in Jira: http://svn.modxcms.com/jira/browse/MODX-185


  • 16873
    40

    leepoooo Reply #9, 3 years, 4 months ago

    Reply
    • Link to this post#9
    Thanks
    If not fix the bug, the site can work exactly only when you creat a new doc.


  • 10313
    374

    FuryDE Reply #10, 3 years, 4 months ago

    Reply
    • Link to this post#10
    Quote from: tkfm at Sep 17, 2008, 04:41 AM
    I think you need this patch.
    http://svn.modxcms.com/jira/secure/attachment/10113/set-character-set_set-names_0.9.6_branch_bugfix_1.patch

    How do I use such a patch?

    Martin


  • <
  • 1
  • 2
  • 3
  • >



Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
Darken, FuryDE, Jul, Lammikko, davidm, ganeshXL, kudolink, leepoooo, lmestre, mall, opengeek, rethrash, tkfmnet

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Work at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy