|
Dave, Thanks, that worked perfect using the en_US.utf8 locale. I wonder if Drupal's changing of the LC_CTYPE should be documented better since this breaks charset conversions and causes these two functions (iconv() and mb_set_encoding()) to not function as they should. I also wonder if we should create a drupal_change_encoding() function that resets the locale, does the conversion, and sets the locale back to make life easier for those who don't know about the LC_CTYPE change. Brian Dave Reid wrote: It's because of the call to setlocale(LC_CTYPE, 'C'); in _unicode_check() in includes/unicode.inc. |
- [development] Converting UTF8 strings to ASCII in Dr... Brian Vuyk
- Re: [development] Converting UTF8 strings to AS... Khalid Baheyeldin
- Re: [development] Converting UTF8 strings t... Brian Vuyk
- Re: [development] Converting UTF8 strin... Dave Reid
- Re: [development] Converting UTF8 s... Brian Vuyk
- Re: [development] Converting UTF8 strin... Ivan Sergio Borgonovo
- Re: [development] Converting UTF8 s... Ivan Sergio Borgonovo
- Re: [development] Converting UTF8 strings to AS... Dave Reid
- Re: [development] Converting UTF8 strings t... Brian Vuyk
- Re: [development] Converting UTF8 strin... Brian Vuyk
