Welcome Guest, Not a member yet? Register   Sign In
Problem trying to save ñ, á on Database
#1

[eluser]Unknown[/eluser]
Hi all, im starting on CI, and today receive my first problem Tongue, i try to save an string into my db :

"Descripción en Español" shows a good query string in debugger, but when i see my database, the string is cut, and only save : "Descripci".

if i quit the "ó" char, the string saved is "Descripcion en Espa".

I try to fix that without luck, someone have the answer :-P , well guys, thanks a lot!.

Code:
//My database in codeigniter
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

//My database in MySQL its the same
utf8_general_ci

//html charset
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


Messages In This Thread
Problem trying to save ñ, á on Database - by El Forum - 04-18-2010, 04:05 PM
Problem trying to save ñ, á on Database - by El Forum - 04-18-2010, 04:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB