[SOLVED] XML Block vs. Text Block regarding languages

Author Message

Gunnar Birkeland

Thursday 01 November 2007 2:56:26 pm

Simple task; no sollution yet.

I have an article class with the following fields, (for debugging)

Att: "xml_block" Type="XML-block"
Att: "body" Type="Text-block"

Now, i have filled them with the same content from a vietnamese newspaper.

This is how i output them in the full template:

<h1>THE CONTENT IN AN XML-BLOCK</h1>
{attribute_view_gui attribute=$node.data_map.xml_block}
<h1>THE SAME CONTENT IN A TEXT BLOCK</h1>
{$node.data_map.body.content}

Im sensing some hope here: Though our database version dont support utf-8 (working on it)this is not a problem when using a text-block so i guess it is a config-error. Off course i would like to use the xml-block as the data-type.

Any ideas will be appreciated.

Gman @ EnterNett

</major>
----------------------------
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24

Paul Borgermans

Friday 02 November 2007 5:49:09 am

Gunnar, could you also indicate the versions of eZ Publish and PHP you use?

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Gunnar Birkeland

Tuesday 06 November 2007 6:42:27 am

Hi again, fortunatly this is not a problem anymore since im running an upgraded mysql-version with utf-8 support.

But the problem at hand; Text-block worked | XML block didnt, yet remains a problem, in the old setting:

Was running on:
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24 (no utf-8 support)

Changed this to
ez-version: 3.9.3.
PHP: 4.4.2
MYSQL: 4.1.18

Guess ive learned a few things about charsets:-)

Thanks for the reply, anyway.

Gman @ EnterNett

</major>
----------------------------
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24

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 06:00:42
Script start
Timing: Jan 31 2025 06:00:42
Module start 'layout'
Timing: Jan 31 2025 06:00:42
Module start 'content'
Timing: Jan 31 2025 06:00:42
Module end 'content'
Timing: Jan 31 2025 06:00:42
Script end

Main resources:

Total runtime0.0138 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.0050 588.3750151.2422
Module start 'layout' 0.00500.0030 739.617236.6953
Module start 'content' 0.00800.0044 776.312590.1719
Module end 'content' 0.01240.0013 866.484433.9922
Script end 0.0137  900.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.6375140.0002
Check MTime0.00107.2701140.0001
Mysql Total
Database connection0.00096.187810.0009
Mysqli_queries0.002921.282230.0010
Looping result0.00000.093510.0000
Template Total0.00107.110.0010
Template load0.00075.243910.0007
Template processing0.00021.787210.0002
Override
Cache load0.00053.683610.0005
General
dbfile0.00075.360080.0001
String conversion0.00000.050240.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