charset for texttoimage

Author Message

Piotr Switkowski

Sunday 18 January 2004 10:44:47 am

I tried to run texttoimage with text containing Polish characters. Default charset for templates is 8859-2, but it looks like ezP is using different charset for texttoimage - Polish characters are not displayed correctly.

The question is how could I tell texttoimage to use ISO-8859-2. If texttoimage is using some characterset, could someone tell me what this charset is

Jan Borsodi

Monday 19 January 2004 1:24:01 am

The PHP function that texttoimage uses only supports Unicode using HTML entities encoding (&#xxx;), this encoding is however not supported by eZ publish yet.

You could try to enter the HTML entities directly in the text if the text is written in the template itself and not fetched from an object.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 01:15:28
Script start
Timing: Jan 31 2025 01:15:28
Module start 'layout'
Timing: Jan 31 2025 01:15:28
Module start 'content'
Timing: Jan 31 2025 01:15:29
Module end 'content'
Timing: Jan 31 2025 01:15:29
Script end

Main resources:

Total runtime0.7856 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1250151.2109
Module start 'layout' 0.00450.0040 739.3359220.6875
Module start 'content' 0.00850.7762 960.02344,425.3984
Module end 'content' 0.78470.0009 5,385.42197.8594
Script end 0.7856  5,393.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4511160.0002
Check MTime0.00120.1585160.0001
Mysql Total
Database connection0.00060.077910.0006
Mysqli_queries0.699489.0193540.0130
Looping result0.00060.0727520.0000
Template Total0.732493.220.3662
Template load0.00190.237420.0009
Template processing0.730692.991720.3653
Template load and register function0.00160.203910.0016
states
state_id_array0.00190.242810.0019
state_identifier_array0.00140.175320.0007
Override
Cache load0.00150.196390.0002
Sytem overhead
Fetch class attribute can translate value0.00250.322920.0013
Fetch class attribute name0.00250.317130.0008
XML
Image XML parsing0.00230.290120.0011
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00530.6762170.0003
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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs