Problem with caracters using "upcase" function

Author Message

francis Nart

Wednesday 12 May 2004 2:55:18 am

Hi,

We have french words in the database using caracters like "é, è, à...".
We want to display some of theses words in uppercase.
We then used the "upcase" function for this purpose, it does work perfectly well locally on a windows server but unfortunately not on our Linux server...

Thanks for your help if you have any clue !

Francis.

Jan Borsodi

Wednesday 12 May 2004 4:51:46 am

The locale for your system is probably wrong, you will need to either change the locale on the server or tell PHP to use another locale.

How to change the locale depends on your system, what kind of Linux distribution is this?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

francis Nart

Wednesday 12 May 2004 6:25:31 am

great answer, we just modified it in php and now it works !

Thanks for all !

Francis.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 03:37:09
Script start
Timing: Jan 19 2025 03:37:09
Module start 'layout'
Timing: Jan 19 2025 03:37:09
Module start 'content'
Timing: Jan 19 2025 03:37:10
Module end 'content'
Timing: Jan 19 2025 03:37:10
Script end

Main resources:

Total runtime1.0749 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 589.2969152.6406
Module start 'layout' 0.00880.0045 741.937539.4766
Module start 'content' 0.01331.0601 781.4141528.7266
Module end 'content' 1.07340.0015 1,310.14068.1250
Script end 1.0749  1,318.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3622160.0002
Check MTime0.00140.1338160.0001
Mysql Total
Database connection0.00230.216010.0023
Mysqli_queries1.017494.6457570.0178
Looping result0.00050.0445550.0000
Template Total1.035896.420.5179
Template load0.00270.249720.0013
Template processing1.033196.109220.5165
Template load and register function0.00020.019910.0002
states
state_id_array0.00180.168910.0018
state_identifier_array0.00180.166220.0009
Override
Cache load0.00210.1950170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.063220.0003
Fetch class attribute name0.00150.135740.0004
XML
Image XML parsing0.00080.077920.0004
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00110.1062170.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs