Welcome Guest, Not a member yet? Register   Sign In
UTF-8
#13

[eluser]Dojjjan[/eluser]
this is making me insane!
im from sweden and need characters like åäö to be saved in my database which works just fine if i set $db['default']['char_set'] = "latin1";
$db['default']['dbcollat'] = "latin1_swedish_ci";
but when i should display it back in my viewer the data that comes from my database works fine but my html that also displays åäö comes back as åäö. And if i use UTF-8 åäö gets messed up in the database but the html lookes fine. I've used this: <?$this->output->set_header("Content-type: text/html; charset=latin1");?> in my viewer files and it still doesn't display right. Any ideas?


Messages In This Thread
UTF-8 - by El Forum - 03-25-2009, 01:48 PM
UTF-8 - by El Forum - 03-25-2009, 01:59 PM
UTF-8 - by El Forum - 03-25-2009, 02:08 PM
UTF-8 - by El Forum - 03-25-2009, 07:12 PM
UTF-8 - by El Forum - 03-25-2009, 07:18 PM
UTF-8 - by El Forum - 03-25-2009, 08:50 PM
UTF-8 - by El Forum - 03-25-2009, 08:55 PM
UTF-8 - by El Forum - 03-26-2009, 06:02 AM
UTF-8 - by El Forum - 03-26-2009, 06:15 AM
UTF-8 - by El Forum - 03-26-2009, 06:41 AM
UTF-8 - by El Forum - 03-26-2009, 12:57 PM
UTF-8 - by El Forum - 03-26-2009, 05:12 PM
UTF-8 - by El Forum - 11-28-2009, 09:29 AM
UTF-8 - by El Forum - 11-28-2009, 05:04 PM
UTF-8 - by El Forum - 11-29-2009, 03:35 AM
UTF-8 - by El Forum - 11-29-2009, 04:39 AM
UTF-8 - by El Forum - 11-29-2009, 05:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB