I’m behind a restrictive proxy so I cannot download, but I am still intrigued. What have you actually done here? I have been using CodeIgniter to work with UTF-8 strings and never come across any problems.
Phil - I just tried to post this on your blog, but I think I had trouble with your captcha.
You wrote (and others have written similarly) “CodeIgniter by default is set to use UTF-8 for much of its internal functionality”. Yet, in the process of refactoring an app that I’m readying for production, I’ve noticed that the CI code itself does not seem to use the mb_ string functions. For example, substr() is used 112 times, but mb_substr() is not used at all.
I’m new to l10n/i18n, so perhaps I am confused by your pointers to mb_ references. Were they just for background, or do I in fact need to use the mb_functions? If the latter, why isn’t the CI code using them?
Also, what are your thoughts on this:
http://hash-bang.net/2009/02/utf8-with-codeigniter/
Is this unnecessary with CI and MySQL configured as you have laid out on your blog? Or is this useful in addition to your directions? Or can this be used in lieu of the mb_ functions?
Thanks