Special characters gone..

Author Message

Lo' F.

Sunday 07 November 2010 10:49:23 am

Hello again.

I imported my extension package in a new eZ installation and since then, in there, all the special characters within the templates' content, so in the .tpl as well as in the translation.ts files, aren't displayed properly but replaced with a strange symbol, while the arabic characters of the arabic site are made of ??????? (..question marks)

What the reason can be? ... Many, many, many thanks!

loredanaebook.it

Gaetano Giunta

Sunday 07 November 2010 1:10:17 pm

Look at the value of [CharsetSettings]DefaultTemplateCharset=utf-8 in template.ini

Principal Consultant International Business
Member of the Community Project Board

Lo' F.

Tuesday 09 November 2010 2:27:50 pm

Hi Gaetano, thank you for your reply. ..and sorry for my delay ..

The template.ini's [CharsetSettings] was ok.

...

The problem had to do with the .tpl files encoding other than UTF-8:

In the previous eZ installation I used to edit files from Plesk but since I moved to this new server, started editing them from a web editor which default encoding was iso-8859-1.

loredanaebook.it

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 31 2025 05:33:50
Script start
Timing: Jan 31 2025 05:33:50
Module start 'layout'
Timing: Jan 31 2025 05:33:50
Module start 'content'
Timing: Jan 31 2025 05:33:50
Module end 'content'
Timing: Jan 31 2025 05:33:50
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1250151.2109
Module start 'layout' 0.00610.0022 739.335936.6563
Module start 'content' 0.00830.0062 775.992290.0625
Module end 'content' 0.01450.0014 866.054733.9766
Script end 0.0159  900.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.0293140.0002
Check MTime0.00116.6352140.0001
Mysql Total
Database connection0.00116.807010.0011
Mysqli_queries0.002012.717430.0007
Looping result0.00000.068710.0000
Template Total0.00116.910.0011
Template load0.00085.033210.0008
Template processing0.00031.836610.0003
Override
Cache load0.00053.341510.0005
General
dbfile0.002414.832080.0003
String conversion0.00000.043340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs