<![CDATA[ MODx 0.9.6 and character encoding - My Forums]]> https://forums.modx.com/thread/?thread=36379 <![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding?page=2#dis-post-205168 ]]> bkvernst Aug 17, 2007, 07:04 AM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding?page=2#dis-post-205168 <![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding?page=2#dis-post-205167
If that isn’t the issue, make sure you have utf8 specified as the $database_connection_charset value in your manager/includes/config.inc.php file. If that is set to utf8, then it’s likely a problem with how it is stored in the database, and you’ll need to correct it there.

Finally, double-check the collation set on your database and the tables themselves, and make sure they are set to utf8_general_ci (or utf8_unicode_ci, or another valid utf8 collation). If it is not, you’ll need to correct that, and likely convert all the content stored in those tables, in order to be able to display it properly in a web page as UTF-8.
]]>
opengeek Aug 16, 2007, 05:27 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding?page=2#dis-post-205167
<![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding?page=2#dis-post-205166
My current site runs fine with UTF-8 encoding, which is set in the HTTP header, in the MODx configuration (logically enough), and I also submitted this at the database page during my MODx installation.

HyperFlexSearchForm calls a PHP script in the assets-folder, which contains a few text variables like search button text and standard form field text. When I use the Norwegian Æ Ø Å’s, these gets changed to totally different characters instead, as if they weren’t UTF-8 at all. Feel free to take a look at my development page and try to use the search field in the top menu. The form field text should have been "Søkeord...", and there’s also a few errors in my XHTML code.

Is this a MODx snippet parsing error, or should I address it directly to the HyperFlexSearchForm forum? Most importantly, are there any fixes for this error?

Development page: http://www.musikerportalen.org/_dev

Thanks (again embarrassed)]]>
bkvernst Aug 16, 2007, 04:22 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding?page=2#dis-post-205166
<![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205165
I wanted to update from 0.9.5 to 0.9.6. My 0.9.5 is already running with UTF-8 and now it seems that some parts getting converted again and appear as ISO-8859-1 chars but in UTF-8 encoding.]]>
CBieser Jul 23, 2007, 04:30 AM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205165
<![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205164 opengeek Jun 05, 2007, 12:56 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205164 <![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205163
I’m not registered as bug reporter and i don’t want to do this now.

There is a clean way to correct this in adding
header('Content-type: text/html; charset=' . $_lang['encoding']);

under the line
require_once("lang.php");

or directly in lang.php

@davidm > i’ve tested the install script on my local server and on my lamp installation apache does not send encoding headers by default.
But with a little modification of the script there is a way to make it work even on misconfigured servers.]]>
poof65 Jun 05, 2007, 12:42 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205163
<![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205162 If so using AddCharset in .htaccess could help...

]]>
davidm Jun 05, 2007, 12:37 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205162
<![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205161 Quote from: poof65 at Jun 05, 2007, 05:21 PM

I’ve no problem with my modx site, i am just reporting a problem with the installation script of modx 0.9.6.
Oh, I see; I was misunderstanding what language files were being discussed...is there a bug report entered for this? If not, there needs to be...]]>
opengeek Jun 05, 2007, 12:27 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205161
<![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205160 ]]> poof65 Jun 05, 2007, 12:21 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205160 <![CDATA[Re: MODx 0.9.6 and character encoding]]> https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205159 opengeek Jun 05, 2007, 12:16 PM https://forums.modx.com/thread/36379/modx-0-9-6-and-character-encoding#dis-post-205159