iso-8859-1 -> UTF-8?

Author Message

Jason Filby

Wednesday 10 March 2004 8:54:35 pm

Hi all

My site uses charset iso-8859-1, but now I want to change over to UTF-8. Is there any documentation on this process?

Thanks
Jason

Bård Farstad

Thursday 11 March 2004 12:01:39 am

There is a page on this topic:
http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/unicode_with_ez_publish

Basically you need to change some .ini settings then you need to convert the character set of your database. In MySQL you can do this with myisamchk, haven't converted a PostgreSQL database so you would need to look up the charset conversion in the psql doc.

If you want to use MySQL you need to use the 4.1 development release.

--bård

Documentation: http://ez.no/doc

Georg Franz

Thursday 11 March 2004 4:31:56 am

Hi Bard,

it isn't that "easy" and you may run into some serious troubles.

It takes some time to convert a installation to utf-8. But it isn't done with the db-update. Your templates may also need some adjustments.

So it took me around a week of programming / testing to do this job.

All in all I can say:
Don't do the conversion
-) if there is no really important reason and
-) if you are not familiar with the code of ez

Kind regards,
Emill.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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 31 2025 04:24:43
Script start
Timing: Jan 31 2025 04:24:43
Module start 'layout'
Timing: Jan 31 2025 04:24:43
Module start 'content'
Timing: Jan 31 2025 04:24:43
Module end 'content'
Timing: Jan 31 2025 04:24:43
Script end

Main resources:

Total runtime0.0116 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1328151.2109
Module start 'layout' 0.00450.0018 739.343836.6484
Module start 'content' 0.00630.0040 775.992290.1563
Module end 'content' 0.01020.0013 866.148433.9922
Script end 0.0116  900.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002017.1513140.0001
Check MTime0.00108.4337140.0001
Mysql Total
Database connection0.00076.412710.0007
Mysqli_queries0.001916.070930.0006
Looping result0.00000.059710.0000
Template Total0.00119.210.0011
Template load0.00097.388210.0009
Template processing0.00021.769910.0002
Override
Cache load0.00065.136810.0006
General
dbfile0.00076.388080.0001
String conversion0.00000.059740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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