question about codepage

Author Message

Alexandre Cunha

Wednesday 12 April 2006 6:48:55 pm

hi

What codepages I need choose for the database ?
Can someone enlightme about codepages ?

thanks

http://AlexandreCunha.com

Ɓukasz Serwatka

Tuesday 18 April 2006 12:11:33 am

That depends which language for your site and db engine you will use. Since MySQL 4.1 and higher Unicode support was added, PostgreSQL supports it as well so I would recommend use it for all projects.

For MySQL run:

CREATE DATABASE `mydb` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

See "Unicode with eZ publish"
http://ez.no/products/ez_publish/documentation/configuration/configuration/language_and_charset/unicode_with_ez_publish

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 04:16:01
Script start
Timing: Jan 19 2025 04:16:01
Module start 'layout'
Timing: Jan 19 2025 04:16:01
Module start 'content'
Timing: Jan 19 2025 04:16:02
Module end 'content'
Timing: Jan 19 2025 04:16:02
Script end

Main resources:

Total runtime0.7542 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.1484152.6250
Module start 'layout' 0.00660.0027 741.773439.4453
Module start 'content' 0.00930.7435 781.2188526.6719
Module end 'content' 0.75280.0013 1,307.89068.1719
Script end 0.7541  1,316.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4278160.0002
Check MTime0.00120.1643160.0001
Mysql Total
Database connection0.00120.154710.0012
Mysqli_queries0.710694.2239540.0132
Looping result0.00050.0640520.0000
Template Total0.720395.520.3602
Template load0.00190.255020.0010
Template processing0.718495.257120.3592
Template load and register function0.00020.026510.0002
states
state_id_array0.00120.161410.0012
state_identifier_array0.00080.102020.0004
Override
Cache load0.00160.2085140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.116020.0004
Fetch class attribute name0.00120.159130.0004
XML
Image XML parsing0.00080.100420.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00150.1946180.0001
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs