How to set any charsets for outputting Japanese charsets ?

Author Message

Goshi Nishimura

Monday 08 January 2007 8:31:07 pm

Hello,

I want to to use Japanese charset EUC-JP and Shift_JIS for output on ezPublish.

I think ezPublish is suitable for other multi byte charsets like Chinese charset euc-cn.

PHP is suitable for Japanese charsets euc-jp and sjis,
MySQL(over 4.2.13) is suitable for charsets ujis and sjis,too.

Are the ezpublish scripts are suitable for these?

How to set?

Ɓukasz Serwatka

Thursday 25 January 2007 11:50:42 pm

Hi,

eZ Publish has fully support for Unicode. So both language can be handle by eZ Publish. Basically you need to setup database in utf-8 then tell eZ Publish installer to enable Unicode.

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 00:59:29
Script start
Timing: Jan 19 2025 00:59:29
Module start 'layout'
Timing: Jan 19 2025 00:59:29
Module start 'content'
Timing: Jan 19 2025 00:59:30
Module end 'content'
Timing: Jan 19 2025 00:59:30
Script end

Main resources:

Total runtime0.6710 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.0061 589.4063152.6563
Module start 'layout' 0.00610.0034 742.062539.4922
Module start 'content' 0.00960.6600 781.5547524.5156
Module end 'content' 0.66950.0014 1,306.07038.2656
Script end 0.6709  1,314.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5101160.0002
Check MTime0.00150.2174160.0001
Mysql Total
Database connection0.00090.140310.0009
Mysqli_queries0.626993.4367540.0116
Looping result0.00050.0714520.0000
Template Total0.638295.120.3191
Template load0.00210.307820.0010
Template processing0.636194.806620.3181
Template load and register function0.00020.023110.0002
states
state_id_array0.00130.198210.0013
state_identifier_array0.00070.100520.0003
Override
Cache load0.00160.2452140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.100120.0003
Fetch class attribute name0.00110.168130.0004
XML
Image XML parsing0.00070.105520.0004
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00280.4107180.0002
String conversion0.00000.001240.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
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/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs