Forums / General / How to set any charsets for outputting Japanese charsets ?

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

eZ debug

Timing: Jan 19 2025 00:18:46
Script start
Timing: Jan 19 2025 00:18:46
Module start 'content'
Timing: Jan 19 2025 00:18:46
Module end 'content'
Timing: Jan 19 2025 00:18:46
Script end

Main resources:

Total runtime0.0122 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.1484180.8047
Module start 'content' 0.00620.0032 768.953193.9297
Module end 'content' 0.00940.0028 862.882870.7031
Script end 0.0122  933.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002016.3456120.0002
Check MTime0.00108.3678120.0001
Mysql Total
Database connection0.00075.561610.0007
Mysqli_queries0.002822.934940.0007
Looping result0.00000.156020.0000
Template Total0.002621.110.0026
Template load0.00064.834210.0006
Template processing0.002016.211010.0020
Override
Cache load0.00043.402910.0004
General
dbfile0.00032.2640100.0000
String conversion0.00000.031230.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs