We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    To confirm, is the actual Charset value set this way in the response headers, too? i.e. Content-Type: text/html; charset=UTF-8 -- regardless of what you have in the source, what really matters to most browsers is the actual header being received...
      • 19889
      • 616 Posts
      Quote from: OpenGeek at Dec 10, 2007, 03:50 PM

      To confirm, is the actual Charset value set this way in the response headers, too? i.e. Content-Type: text/html; charset=UTF-8 -- regardless of what you have in the source, what really matters to most browsers is the actual header being received...

      how can I check that?
        • 22303 MODX Staff
        • 10,725 Posts
        I personally use the Fx WebDeveloper toolbar and select Information --> View Response Headers.
          • 19889
          • 616 Posts
          is it this what you were looking for:

          Date	Mon, 10 Dec 2007 16:06:09 GMT
          Server	Apache/2.2.4 (Win32) PHP/5.2.1
          X-Powered-By	PHP/5.2.1
          P3P	CP="NOI NID ADMa OUR IND UNI COM NAV"
          Cache-Control	private, must-revalidate
          Set-Cookie	SN475cfdb581849=gvfl5p0t4faas0krgeiv8m1b54; path=/sites/trade.ch/ Language=de; expires=Mon, 17-Dec-2007 16:06:09 GMT; path=/
          Keep-Alive	timeout=5, max=91
          Connection	Keep-Alive
          Transfer-Encoding	chunked
          Content-Type	text/html; charset=UTF-8
            • 22303 MODX Staff
            • 10,725 Posts
            Next step, do the actual tables in the database have the proper collation? And if so, when you look at the data in phpMyAdmin using a utf8 connection charset setting, does the data appear properly?
              • 19889
              • 616 Posts
              all tables are set to MyISAM utf8_general_ci - the content appears like this
              Führerschaft 
              instead of
              Führerschaft
              for instance
                • 22303 MODX Staff
                • 10,725 Posts
                In phpmyadmin it appears that way??!

                Also, I’m willing to bet that having the db set to utf8_unicode_ci while the tables have utf8_general_ci could be the problem. Try changing the db collation to match the actual collation on the table columns it contains.
                  • 19889
                  • 616 Posts
                  yes
                    • 22303 MODX Staff
                    • 10,725 Posts
                    Also, I’m willing to bet that having the db set to utf8_unicode_ci while the tables have utf8_general_ci could be the problem. Try changing the db collation to match the actual collation on the table columns it contains.

                    (Sorry, I edited the answer after you posted yes, so thought I’d repost since you didn’t reply to this part...)
                      • 19889
                      • 616 Posts
                      Quote from: OpenGeek at Dec 10, 2007, 05:21 PM

                      Also, I’m willing to bet that having the db set to utf8_unicode_ci while the tables have utf8_general_ci could be the problem. Try changing the db collation to match the actual collation on the table columns it contains.

                      (Sorry, I edited the answer after you posted yes, so thought I’d repost since you didn’t reply to this part...)

                      is there an easy way to change all the table to utf8_unicode_ci using phpmyadmin