Forums / Install & configuration / strtoupper (or uppercase) and accent

strtoupper (or uppercase) and accent

Author Message

Fred Gueho

Tuesday 23 May 2006 2:19:44 am

Hi,

I have a string in French with an accent that doesn't transform in uppercase with phpfunction "strtoupper" or with ez function "uppercase".

When I use in PHP :

strtoupper("actualité");

or with in ez template :

{'actualité'|upcase()}

It should display : "ACTUALITÉ". But it displays : "ACTUALITé".

I know I can't fix it with a "setlocale" in PHP. But :
1 - there are too many files to correct...
2 - I'm sure I can do it in one of my config file (httpd.conf or php.ini)
2 - It's working fine on some server but I can't find the right settings to apply them on my server

Any ideas ?

Thanks.

- Fred -

Fred Gueho

Monday 29 May 2006 2:21:53 am

I haven't found yet any ideas to fix my problem.

Is there anyone to help me ?

Kristof Coomans

Monday 29 May 2006 2:41:17 am

Hi Fred

I think you can use the SystemLocale setting of the RegionalSettings group in site.ini ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/regionalsettings/systemlocale_todo ).

Let us know if it worked.

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org