Welcome Guest, Not a member yet? Register   Sign In
Encoding characters problem
#1

[eluser]nuts[/eluser]
Hi !

I post this message because I have a problem with special characters on my webpage :\

I've configured my charset like this :
(in my pages)
Code:
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />

In my config.php
Code:
$config['charset'] = "UTF-8";

In my database.php
Code:
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";



I read lots of topic about the problem, but don't manage to fix it :\
Usually I use an iso charset, but I didn't managed to make it work as I wanted, so I decided to use the UTF-8 charset. Not only I have to wrote all my spcial characters with their code like "à" to make it appear correctly on the static part of my pages .. but also, when I "edit" a message posted on my website, ... a message like "éàèç" become "éà çè" ...

I don't understand :\ the first time the message is resigtered in the database he is correctly registered, and next time, all my special characters are transformed :\
Moreover, the first post and the edition are made on the same webpage (I make appear a div to edit the message I want) so the charset is the same :\

Please help me I really don't understand this problem :\
Thanks


p.s. sorry for my english (I think I gonna write this sentence in my signature instead of making a p.s. every time I post :p)


EDIT : I've also tried to change the Interclassment of my text fields in my database (I tried latin1_swedish_ci, utf8_general_ci, ...)


Messages In This Thread
Encoding characters problem - by El Forum - 07-13-2008, 12:34 PM
Encoding characters problem - by El Forum - 07-13-2008, 01:14 PM
Encoding characters problem - by El Forum - 07-13-2008, 01:22 PM
Encoding characters problem - by El Forum - 07-13-2008, 02:19 PM
Encoding characters problem - by El Forum - 07-13-2008, 02:47 PM
Encoding characters problem - by El Forum - 07-13-2008, 03:08 PM
Encoding characters problem - by El Forum - 07-24-2008, 09:22 AM
Encoding characters problem - by El Forum - 07-25-2008, 06:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB