Quotes become ?

Author Message

Halvor M

Thursday 08 September 2005 2:36:45 pm

When cutting and pasting from other text documents, I lose a lot of formatting. Most annoyingly, I lose my quotes, which end up as ? instead.

Would it help to do a search and replace in the original document, and change the quote marks " " to something else instead?

Halvor M

Friday 23 September 2005 11:43:39 pm

I have now discovered that the same problem occurs when using the built-in pdf generator to produce pdf versions of my EZ pages on the fly...

" are consistently converted to ?

Anyone have thoughts about this?

Bård Farstad

Saturday 24 September 2005 10:44:07 am

This happens because the quote character you use are not supported in the used character set. The solution is to use the utf-8 characterset with eZ publish.

--bård

Documentation: http://ez.no/doc

Xavier Dutoit

Sunday 25 September 2005 1:50:11 am

Hi Bard,

You'll make my day if you give me an easy trick to add/tweek/modify the char converters to deal with the few extra windows characters (the quotes, euro symbols... the usual guilties) and convert them to their proper iso-8859-1 (15) equivalent ?

cf this doc for a more complete description: http://www.cs.tut.fi/~jkorpela/www/windows-chars.html

By the way, I've had the problem with these chars even with utf-8 charset.

X+

http://www.sydesy.com

Halvor M

Monday 26 September 2005 3:27:38 am

Not to forget, how does one change character set?

Is this done from within the admin interface, or do I have to alter the settings within one of the underlying systems (php, sql etc)?

Thanks for your input - I am looking forwarding to resolving this :-)

Halvor M

Sunday 09 October 2005 2:15:16 pm

Is there a step-by-step on this?

I have looked around the forum, but I am afraid of damaging my install if I do something wrong here...

Halvor M

Sunday 09 October 2005 2:18:56 pm

...As I look around here, it seems many people have problems with utf-8 installs...

Perhaps it would be wiser just to alter MSWord quotes to something else? Anyone have any ideas on this?

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

Main resources:

Total runtime1.2915 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0234152.6094
Module start 'layout' 0.00640.0026 741.632839.3984
Module start 'content' 0.00901.2810 781.0313611.3047
Module end 'content' 1.28990.0015 1,392.335916.1953
Script end 1.2914  1,408.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2634160.0002
Check MTime0.00160.1225160.0001
Mysql Total
Database connection0.00100.074710.0010
Mysqli_queries1.229995.2323710.0173
Looping result0.00070.0531690.0000
Template Total1.259097.520.6295
Template load0.00210.165720.0011
Template processing1.256897.318520.6284
Template load and register function0.00020.018310.0002
states
state_id_array0.00130.104010.0013
state_identifier_array0.00190.148020.0010
Override
Cache load0.00180.1374300.0001
Sytem overhead
Fetch class attribute can translate value0.00050.041730.0002
Fetch class attribute name0.00130.097690.0001
XML
Image XML parsing0.00130.104530.0004
class_abstraction
Instantiating content class attribute0.00000.001390.0000
General
dbfile0.00110.0826230.0000
String conversion0.00000.000640.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs