Probably a charset problem

Author Message

Roberto Cespa

Wednesday 30 June 2004 3:59:14 pm

Hi there,
I've got a problem cuttin'n'pasting some contents for Word or Acrobat to XMLTextFields.
The text I need to insert in ezp is both in English and Italian, so I got problems with italian chars like àèòìù but also with fancy quotes and double quotes often used by Word.

What I get is something like ’ instead of " ' " (single quote), “ in place of opening double quotes and ” in place of closing double quotes.

Looking at the html code produced by ezp, I can see that & is translated in & .
While this is correct for & char alone, it breaks completely the page if the substitution is done in the other cases.

Playing around in the db, I can see that the raw data already contains ’ etc etc.

I've tried reading everything in the forum about this problem and the latest messages are quite old (Sep/Oct 2003), so I really think that this is my fault.

I tried to modify the charset settings in site.ini, templates.ini, i18n.ini etc etc with no result.

I even tried to modify charset settings in one html file saved on my HD, but, again, no result.

Any help would be appreciated (I've got a huge quantity of data to load on ez, and I don't want to spend lot of time doing search and replace in a text editor before pasting the text in the admin interface).

Thanx a lot,
Roberto

christian stampf

Tuesday 30 November 2004 9:07:49 pm

have you found a solution to this problem yet? please post it here. i am experiencing a similar problem.

thanks!

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 19:35:47
Script start
Timing: Jan 18 2025 19:35:47
Module start 'layout'
Timing: Jan 18 2025 19:35:47
Module start 'content'
Timing: Jan 18 2025 19:35:47
Module end 'content'
Timing: Jan 18 2025 19:35:47
Script end

Main resources:

Total runtime0.0143 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.0056 589.4609152.6406
Module start 'layout' 0.00560.0024 742.101639.4609
Module start 'content' 0.00800.0045 781.562589.3359
Module end 'content' 0.01250.0017 870.898430.3047
Script end 0.0143  901.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.9063140.0002
Check MTime0.00117.3581140.0001
Mysql Total
Database connection0.00075.044210.0007
Mysqli_queries0.002315.985630.0008
Looping result0.00000.070010.0000
Template Total0.001510.210.0015
Template load0.00085.653910.0008
Template processing0.00064.541110.0006
Override
Cache load0.00053.689910.0005
General
dbfile0.00021.387780.0000
String conversion0.00000.058340.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