We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15623
    • 1 Posts
    Firstly,I wrote a page in Thai Language, Title and long title as Thai language as well, and then save and publish.After that I went to edit that page but they was not shown in Thai Language in the Document editor ,it\’s shown as some symbols like ASCIIs or something can not to read

    So how can I do? May you friends suggest me for the problems.

    Best Regards,
    Kasidech from Thailand
      • 36592
      • 970 Posts
      Which version of MODx are you using ?

      And what is your site’s characterset and database collation settings ?
        • 5070
        • 36 Posts
        I have the same problem with Thai Language, I’m using modx version 0.9.6.2 and MySQL with unicode utf-8 format.
        -This is the details of my problem: when I created a new document, I used tinyMCE editor for editing the content of the document, I have chosen browser’s menu : Edit/Character encoding/Use defined. when i saved and switched to preview, the content of the document displayed correct but title, name, description ... which were inputted by Textbox didn’t display in the correct format.
        Is there any suggestions?
          • 36592
          • 970 Posts
          Version 0.9.6.2 has a bug about DB collation.
          Check out the beta for 0.9.6.3.
            • 5070
            • 36 Posts
            Thank tkfm for your suggestion, after looking around for several hours, I found the solution for Thai language, all is in attached file, only need to copy and replace existing file. shocked
              • 10487 MODX Staff
              • 1,535 Posts
              @chienquang: I’ve done a diff on the DBAPI class you posted and the version currently in the repository and I’m not sure what has actually changed - apart from some missing PHPdoc comments in your version. Could you expand what has/should have changed please.
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com
                • 5070
                • 36 Posts
                hi garryn,
                I’m not sure if there is any different but the DBAPI first time didn’t work with my site. after several hours searched and tried to make changes back and forth to it and my site, then it worked, so I want to share it here with hope that it could help someone Who are using the Modx 0.9.6.2 and having special fonts problem like me, can easily get it fixed.