Charset problems UTF-8

Author Message

Anja Lundin

Tuesday 20 February 2007 2:49:06 am

Hi!
We have one installation of eZ publish 3.8.6 on our server and we would like to run one site with UTF-8 and the other sites with charset=iso-8856-1. How can we do this?

The new UTF-8 database was created with character set utf8.
In the ini-files: site.ini.append.php, i18n.ini.append.php and template.ini.append.php we have changed the charset to utf-8 in siteaccesses for the new site.

Still after theese changes the coding is iso-8856-1 on the new UTF-8-site.

We have noticed the old bug 004314 (it is closed). Therefore we changed the setting in i18n.ini directly under settings, just to see what happend. The charset is then changed to UTF-8. This is a problem. We can not have this setting on all our sites in the installation. We need to have different charset-settings for different siteaccesses...

1. Is the bug 004314 really solved?

2. Does this mean that we need to have two installations of eZ-publish? One for UTF-8 sites and the other for our iso-8856-1 sites?

Thanks in advance!

/Anja Bjerleus, Novitell AB

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Claudia Kosny

Wednesday 21 February 2007 10:41:05 am

Hi Anja

Unfortunately both bug reports regarding this problem state that there is no way to solve this problem for now, as it involves major works.

http://issues.ez.no/5330
http://issues.ez.no/4314

So it looks like you have to have two installations of eZ :-(

Claudia

Anja Lundin

Wednesday 21 February 2007 11:00:16 pm

Hi Claudia!
Thanks for your answer!
We have two installations of eZ publish now. It takes a lot of space, but like you said, it seems like the only solution. :-(

/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

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 20:58:37
Script start
Timing: Jan 18 2025 20:58:37
Module start 'layout'
Timing: Jan 18 2025 20:58:37
Module start 'content'
Timing: Jan 18 2025 20:58:38
Module end 'content'
Timing: Jan 18 2025 20:58:38
Script end

Main resources:

Total runtime0.6007 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.0058 587.9141152.6250
Module start 'layout' 0.00580.0025 740.539139.4609
Module start 'content' 0.00830.5909 780.0000532.8125
Module end 'content' 0.59930.0014 1,312.812512.1719
Script end 0.6007  1,324.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5341160.0002
Check MTime0.00130.2176160.0001
Mysql Total
Database connection0.00120.197910.0012
Mysqli_queries0.544990.7121570.0096
Looping result0.00050.0838550.0000
Template Total0.571895.220.2859
Template load0.00240.392920.0012
Template processing0.569494.794720.2847
Template load and register function0.00010.020510.0001
states
state_id_array0.00100.163210.0010
state_identifier_array0.00080.132420.0004
Override
Cache load0.00200.3318270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.110220.0003
Fetch class attribute name0.00110.186540.0003
XML
Image XML parsing0.00180.291620.0009
class_abstraction
Instantiating content class attribute0.00000.002050.0000
General
dbfile0.00240.3970160.0001
String conversion0.00000.001340.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs