We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1169
    • 312 Posts
    Do you know what your original HTML used suggest you try that first.
    If that does not work.
    Change to UTF8 and see if it is viewable in browser.

    I would not suggest importing until it renders properly in browser.

    I am just working on logic here not past experience.
      DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
      • 10702
      • 107 Posts
      Now I tried to change the field "content" of "site_content" to utf8, but this results in the error "#1283 - Column ’content’ cannot be part of FULLTEXT index"

      Therefore it seems like I cannot change the charset of my database...
        • 1169
        • 312 Posts
        What type of access to your host do you have I only know cPanel?

        Can You create a new database?

        Can you afford to Delete everything?
          DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
          • 10702
          • 107 Posts
          Quote from: allanb at Sep 06, 2010, 03:01 PM

          Can You create a new database?
          Can you afford to Delete everything?
          Yes. I think I will make a new installation with a new database. Hope this helps smiley smiley

          I will set everything to "utf8_general_ci". Do you think there are more important things to take care beside this?
            • 1169
            • 312 Posts
            As stated these are just ideas.

            As I said in my first post I had problem with MODx creating Database.
            See if you can create Database with UTF8 before running setup in Revo Install.
              DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
              • 10702
              • 107 Posts

              As stated these are just ideas.
              Yes, thanks a lot. I think it is worth trying. A new installation takes just about one hour, therefore it is no problem if it doesn´t work.
              See if you can create Database with UTF8 before running setup in Revo Install.
              The database is utf8 and the "Collation" too smiley
                • 1169
                • 312 Posts
                You look good to roll.

                Hope it now works.
                I’m out of ideas.
                  DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
                  • 17883
                  • 1,039 Posts
                  http://www.modxcms.de/forum/comments.php?DiscussionID=4222&page=1#Item_3

                  Imho it doesn`t matter which charset is set in your HTML-head, it is rather important which charset the document/file has. So open it with any code editor and change the charset to utf-8 (I suppose it is some windows ansi stuff). It is important you run a good editor which converts the Umlauts rather than destroying them.
                    • 10702
                    • 107 Posts
                    OK, I made a new installation. And now the Umlaute work. Nevertheless as MadeMyDay mentioned the import-quality depends strongly on how the imported file is saved before.

                    Having still some problems my question to MadeMyDay: What editor can you recommend for Windows? At the moment I use Openoffice-Writer.

                    If I am correct the editor should code every Umlaut correctly, but not adding a <p> at the beginning of every line...

                    Maybe there is an editor which can convert iso-8859-1 to utf8 automatically?
                      • 3749
                      • 24,544 Posts
                      I think NetBeans will let you select the character set, and it won’t add any extra baggage if you’re writing plain HTML in it.
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting