[eluser]monoclonal[/eluser]
Hi,
I believe I have all the config settings pointing to UTF-8 for both CI and for MYSQL ie,
Code:
//config.php
$config['charset'] = "UTF-8";
//and in database.php
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_unicode_ci';
headers are sent using html5, utf-8, but they display fine, so it isn't that.
EDIT:
someone has tried using kohana on another forum and it works fine for them. This is their post:
"Works fine here using Kohana ...
Code:
function action_test()
{
$query = DB::select()->from('terse')->order_by('text', 'ASC');
echo $query.'<br />';
$result = $query->execute('alternate');
foreach($result as $row)
{
echo $row['text'].'<br />';
}
}
Result::
SELECT * FROM `terse` ORDER BY `text` ASC
(±)-Epinephrine
6-Carboxyfluorescein
Acetylcholine chloride
Boric acid
Potassium
Suramin
β-Estradiol
I would assume its a CodeIgniter problem"
although, technically, beta-estradiol should be under 'b' for beta, but that's ok