Special characters in my content

Author Message

Mahmoud BECHAA

Tuesday 10 March 2009 7:54:13 am

Hi everybody,

I have some special characters which are displayed in my content in the pagelayout.tpl. These characters are "" and they change the appearance of my div in Internet Explorer. They seem to be ignored by Firefox. In Firefox, in the source code, these special characters are not present as if they were sweeped out...Is it a known EZP problem? I was thinking about the fact that I use EZP with French language. In my site ini, it seems to be correctly configured to work with the french character codes. here is the configuration declared in site.ini:

AllowedCharsets
default [0]
default [1] us-ascii
default [2] utf-8
default [3] iso-8859-1
default [4] iso-8859-15
default [5] cp1252

OutputCharset default "utf-8"

Any ideas about the way I could get rid of these special characters ?
Many thanks to all!!!

Mahmoud BECHAA

Tuesday 17 March 2009 5:03:55 am

OK, solved. I just saved my template file under notepad using utf8 encoding.

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 18 2025 11:20:21
Script start
Timing: Jan 18 2025 11:20:21
Module start 'layout'
Timing: Jan 18 2025 11:20:21
Module start 'content'
Timing: Jan 18 2025 11:20:22
Module end 'content'
Timing: Jan 18 2025 11:20:22
Script end

Main resources:

Total runtime1.5418 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.0391152.6250
Module start 'layout' 0.00590.0053 741.664139.4453
Module start 'content' 0.01121.5286 781.1094460.1406
Module end 'content' 1.53980.0020 1,241.25008.1563
Script end 1.5417  1,249.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2232160.0002
Check MTime0.00130.0867160.0001
Mysql Total
Database connection0.00070.048610.0007
Mysqli_queries1.494596.9345520.0287
Looping result0.00050.0345500.0000
Template Total1.506197.720.7530
Template load0.00220.145120.0011
Template processing1.503897.536920.7519
Template load and register function0.00010.007410.0001
states
state_id_array0.00130.084810.0013
state_identifier_array0.00150.100520.0008
Override
Cache load0.00190.1259190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.039210.0006
Fetch class attribute name0.00260.170330.0009
XML
Image XML parsing0.00190.121710.0019
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00220.1408160.0001
String conversion0.00000.000840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs