Forum Moderators: coopster

Message Too Old, No Replies

Strange Encoding in Mysql

         

woss

8:15 pm on Mar 15, 2010 (gmt 0)

10+ Year Member



Hello ppl,
i have very strange problem. I've solved lot of charset problems that were related to PHP and Mysql, but this is really strange.

I have exactly the same configuration of Mysql server and similar configuration of PHP on my dedicated server and local one.

Website is using utf8_general_si for database and utf on website but when i see in the database i get strange encoding like :

plaže it should write plaže (beaches)
Opći it should write Opći (general)

i tried everything, from writing my own class using iconv functions and str_replace, but nothing.

I have to mention old website is on Joomla 1.0 and i want to import it on joomla 1.5.

One thing i have noticed is when i create content in Joomla 1.5 i see in the database exactly as i write, but when i do the same thing on joomla 1.0 it get encoded....
don't know where to look anymore. i've been trying to solve it for 2 full days...

if someone can help, please help me


thanks,
daniel

nickCR

10:39 pm on Mar 15, 2010 (gmt 0)

10+ Year Member



You should post this in the Joomla forums because they should be able to provide more specific help and direction as to where you can find the code which is making your string "database safe".