set names, weird characters - just cant get it right

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
manmower
Forum Members
Forum Members
Posts: 15
Joined: Wed May 13, 2009 12:41 pm

set names, weird characters - just cant get it right

Post by manmower »

Hi folks,

Sometime when I import mysql data and use it with CMSMS I just get weird characters. I know it has something to do with character set and collation. I have tried changing the collation, using SET NAMES and changing the settings in config.php. But I just can't it right. When I'm in phpmyadmin and I use SET NAMES latin1; {SQL Command} it shows the right characters, but no mather what I try, it wont work in my module. No mather what my collation is, latin1 or utf8 I still get strange characters.

Can someone please help me?
Peciura

Re: set names, weird characters - just cant get it right

Post by Peciura »

About setting page to utf8 read here
http://forum.cmsmadesimple.org/index.ph ... 578.0.html
Last edited by Peciura on Tue Jul 06, 2010 7:35 am, edited 1 time in total.
Post Reply

Return to “Developers Discussion”