MySQL and Unicode support?

Author Message

Frzzy Madayaz

Wednesday 11 June 2003 9:57:41 am

Hey I'm installing 3.1 beta 2 and notice that MySQL won't support Unicode? So what Unicode? My site use UTF-8 encoding text and it's monolingual. Currently I'm using phpBB2 with MySQL and it handle UTF-8 really good.

Bård Farstad

Wednesday 11 June 2003 10:00:49 am

MySQL does not support unicode before version 4.1, to get unicode support with eZ publish you need to run PostgreSQL or run an alpha version of MySQL. You would need to configure MySQL 4.1 manually as we've not added support for this in the setup wizard.

BTW: which version of MySQL are you using with phpBB2?

--bård

Documentation: http://ez.no/doc

Jan Borsodi

Wednesday 11 June 2003 1:48:55 pm

It might be that utf-8 will work on MySQL even without native Unicode support, it really depends on what kind of text handling functions are used eZ publish. For instance matching one whole utf8 string against another does not require utf-8 specific functionality, it's actually one of the features of utf8.
The places where I see trouble are with searching.

It could be an intereseting experiment and see if eZ publish would run in utf8 mode on MySQL.

--
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 18 2025 19:31:34
Script start
Timing: Jan 18 2025 19:31:34
Module start 'layout'
Timing: Jan 18 2025 19:31:34
Module start 'content'
Timing: Jan 18 2025 19:31:35
Module end 'content'
Timing: Jan 18 2025 19:31:35
Script end

Main resources:

Total runtime0.5748 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1484152.6250
Module start 'layout' 0.00480.0026 741.773439.4453
Module start 'content' 0.00730.5659 781.2188571.0156
Module end 'content' 0.57320.0015 1,352.234412.1641
Script end 0.5748  1,364.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5242160.0002
Check MTime0.00130.2198160.0001
Mysql Total
Database connection0.00080.138510.0008
Mysqli_queries0.526991.6643590.0089
Looping result0.00070.1204570.0000
Template Total0.549195.520.2745
Template load0.00210.373320.0011
Template processing0.546995.145720.2734
Template load and register function0.00020.031510.0002
states
state_id_array0.00090.157110.0009
state_identifier_array0.00130.228420.0007
Override
Cache load0.00230.3923140.0002
Sytem overhead
Fetch class attribute can translate value0.00060.103030.0002
Fetch class attribute name0.00100.170550.0002
XML
Image XML parsing0.00120.211630.0004
class_abstraction
Instantiating content class attribute0.00000.001950.0000
General
dbfile0.00100.1797240.0000
String conversion0.00000.001040.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs