Radicore Forum - RDF feed
type: channel
description: Fast Uncompromising Discussions. FUDforum will get your users talking.
items: Problem with accentuated char and Uppercase
items: Re: Problem with accentuated char and Uppercase

Problem with accentuated char and Uppercase
type: item
description: I think there is a bug with the uppercase function in the column dictionary, as the chars like áéíóúàèìòù aren't being converted to uppercase.
creator: bonzo_bcn
date: 2008-11-10T17:00:43-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: Radicore does not assume that the character set is UTF8 and that it has to deal with multibyte characters, so it does not. You can force your implemetation to invoke the function overloading options with MBSTRING by looking at http://www.radicore.org/forum/index.php?t=msg&th=167&amp ;goto=668.
creator: AJM
date: 2008-11-10T17:47:57-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: Just added mbstring.func_overload = 2 in php.ini but it's still not working. Where else can I look to find a solution?
creator: bonzo_bcn
date: 2008-11-10T18:29:11-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: Did you restart Apache?
creator: AJM
date: 2008-11-10T18:29:49-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: Yes, and I just tested with this code: $insert_array['nompart'] = mb_strtoupper($row['nompart']); and it's not converting to uppercase, it must be a php issue, I will continue investigating...
creator: bonzo_bcn
date: 2008-11-10T18:35:39-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: Just tried this: mb_strtoupper($row['nompart'],'utf-8'); and it works. In my php.ini I have: default_charset="utf-8" I will continue investigating..
creator: bonzo_bcn
date: 2008-11-10T18:42:28-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: I added this two lines to php.ini and it worked: default_charset="utf-8" mbstring.internal_encoding = utf-8 ; Set internal encoding to UTF-8
creator: bonzo_bcn
date: 2008-11-10T19:12:25-00:00

Re: Problem with accentuated char and Uppercase
type: item
description: Thank goodness for that! It sounds like I should put a summary of all this in the FAQ.
creator: AJM
date: 2008-11-10T19:58:11-00:00