Problem with charset

Author Message

Salvatore Guarino

Tuesday 15 May 2007 12:51:29 am

Hi,

I have just migrated successfully a site from a server with mysql 4.0 to a server with mysql 5.0. At the same time I have upgraded eZpublish from 3.7.2 to 3.8.8. All operations are completed successfully, but now I have a big problem with the charset: all chars like "à, è, ', etc." are replaced by à or other stranges chars. The database charset collation of source and destination DB ar UTF-8 bin, and I tried to alter the collation with other charset, but the result is the same. Can someone help me to set up the right charset?

Thx,

Salvatore

Kristof Coomans

Tuesday 15 May 2007 1:32:31 am

Hi Salvatore

I wouldn't call this a successful migration, at least not yet ;-)

There are some tips on this topic in other forum threads: http://ez.no/community/forum/general/convert_from_iso_8859_1_encoding_to_utf_8

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Salvatore Guarino

Tuesday 15 May 2007 2:04:03 am

I wouldn't call this a successful migration, at least not yet

Hi Kristof, yes, you have reason...
But I have just launched your great script and now (maybe) the site seems to work correctly!
Thank you very much for your precious help

Bye,

Salvatore

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 21:11:33
Script start
Timing: Jan 18 2025 21:11:33
Module start 'layout'
Timing: Jan 18 2025 21:11:33
Module start 'content'
Timing: Jan 18 2025 21:11:34
Module end 'content'
Timing: Jan 18 2025 21:11:34
Script end

Main resources:

Total runtime1.2237 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.0063 594.3828152.6094
Module start 'layout' 0.00630.0037 746.992239.4141
Module start 'content' 0.01001.2121 786.4063542.2422
Module end 'content' 1.22210.0016 1,328.648412.1875
Script end 1.2236  1,340.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2788160.0002
Check MTime0.00150.1250160.0001
Mysql Total
Database connection0.00090.074210.0009
Mysqli_queries1.172195.7878570.0206
Looping result0.00050.0436550.0000
Template Total1.184396.820.5921
Template load0.00220.183520.0011
Template processing1.182096.593420.5910
Template load and register function0.00010.008010.0001
states
state_id_array0.00310.249610.0031
state_identifier_array0.00240.193820.0012
Override
Cache load0.00190.1538220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.051720.0003
Fetch class attribute name0.00150.119450.0003
XML
Image XML parsing0.00100.084920.0005
class_abstraction
Instantiating content class attribute0.00000.003960.0000
General
dbfile0.00120.0988230.0001
String conversion0.00000.000740.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/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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs