Page 1 of 1

Problems with character encoding in new cmsms version

Posted: Wed Apr 22, 2009 8:26 pm
by kendy
Hi

We have upgraded our test environment to the latest cmsms version, but are having problems with the character encoding for Eastern european languages: polish/Czech - it displays like this>> ?r�d?

If we manually paste the text from Word into tthe cms and resave, it then formats correctly...

The previous (in production) environment works fine..seems only to be an issue since the upgrade.

any ideas..??

Any help much appreciated!

Kendy  :)

Re: Problems with character encoding in new cmsms version

Posted: Wed Apr 22, 2009 8:36 pm
by vilkis
Hi,
Did you read this topic http://forum.cmsmadesimple.org/index.ph ... 773.0.html ?


Vilkis

Re: Problems with character encoding in new cmsms version

Posted: Wed Apr 22, 2009 8:47 pm
by kendy
I have now...thanks Vilkis!

I will re-read and digest with my colleague tomorrow, plus look forward to v1.6

Thanks for your help..have a good evening  ;D

Re: Problems with character encoding in new cmsms version

Posted: Wed Apr 22, 2009 9:04 pm
by vilkis
I think that you can solve your problems without waiting v1.6 - just re-read that topic.

Good luck,

Vilkis

Re: Problems with character encoding in new cmsms version

Posted: Fri Apr 24, 2009 3:00 pm
by kendy
Hi all

I am pleased to report the solution to the problem: thanks http://www.netplace.de/

The problem was due to missing code in the 1.5 release.
1) Copy adodb.functions.php.patch to /web/servers/WEBSITE.com/docs
2) cd /web/servers/WEBSITE.com/docs
3) patch -p0 Global Settings -> Clear Cache

MISSING LINES OF CODE...
+       if ($config['dbms'] == 'mysql')
+        {
+                $dbinstance->Execute('SET NAMES utf8;');
+                #print_r ($dbinstance->Execute('show variables like "%charact%";')) ;
+        }

I hope this helps someone..!!

;D