Problem with PDF and UTF8 in tables

Author Message

Bartek Modzelewski

Friday 15 June 2007 2:11:53 am

Hello

I have to create simple PDF template for one class. Site is in utf8 so I was happy that in 3.9.2 problem with encoding in pdf has been fixed. It works good but only if text is plain. Unforutunatelly my class contains ezmatrix attribute - all text inside matrix (table) has still strange chars. The same is when I put text into table in OE.

I tried on different eZp installations, both Windows and Linux so I think that eZp famous bug #006574 fixes problem only partly. It looks like encoding conversion to ISO-8859-1 fails for tables.

Site is multilangual - total 10 different languages used. I need it working for all languages.

Has anyone meet the same problem with text in tables?

Bartek

Baobaz
http://www.baobaz.com

André R.

Friday 15 June 2007 6:04:44 am

Hi, this seems like a bug.

If you have reproducible code, make a issue on it.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Bartek Modzelewski

Friday 15 June 2007 6:33:21 am

Issue added: http://issues.ez.no/IssueView.php?Id=10952

Baobaz
http://www.baobaz.com

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 14:59:23
Script start
Timing: Jan 18 2025 14:59:23
Module start 'layout'
Timing: Jan 18 2025 14:59:23
Module start 'content'
Timing: Jan 18 2025 14:59:24
Module end 'content'
Timing: Jan 18 2025 14:59:24
Script end

Main resources:

Total runtime1.2501 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.0044 589.1484152.6406
Module start 'layout' 0.00440.0025 741.789139.4609
Module start 'content' 0.00681.2409 781.2500531.1328
Module end 'content' 1.24770.0016 1,312.382812.3125
Script end 1.2493  1,324.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2450160.0002
Check MTime0.00130.1048160.0001
Mysql Total
Database connection0.00070.055910.0007
Mysqli_queries1.203796.2839570.0211
Looping result0.00050.0406550.0000
Template Total1.219097.520.6095
Template load0.00200.160820.0010
Template processing1.217097.348120.6085
Template load and register function0.00020.014410.0002
states
state_id_array0.00090.072110.0009
state_identifier_array0.00280.227620.0014
Override
Cache load0.00160.1312150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.056820.0004
Fetch class attribute name0.00220.175640.0005
XML
Image XML parsing0.00060.051820.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00110.0904170.0001
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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs