:: 15.02.2009 02:41:20
There are however many more quirks when it comes to encodings e.g. truncating or counting of characters etc. I find http://www.phpwact.org/php/i18n/utf-8 explaining the handling of UTF-8 strings with PHP pretty well.
:: 18.02.2009 20:33:28
I did all the steps you mention, but I still have a problem.
I have a function inside a component, which returns an array.
The key and the value of a pair has special characters.
In the controller I then set this array to a $variable to render.
And in the view I use this $variable as the options of a select input.
$form->input(model.field, array('options' => $variable)).
But the option that has the special character is not rendered.
:: 18.02.2009 20:36:17
I tried also passing with the HTML code for special characters, but the input select will just simply render the code.
é or whatever