Forums / Install & configuration / Problems with installing a UTF-8 based site 3.6 rc1

Problems with installing a UTF-8 based site 3.6 rc1

Author Message

Birger Kollstrand

Monday 16 May 2005 9:27:56 am

Hi,

I'm new to eZ and I'm trying to install unicode site. And I fail utterly...

I have tried to search the forums , but I have not found any answers to my specific questions.

I have read numerous posts and I have done the changes in http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/unicode_with_ez_publish

My setup:
SuSE 9.3 which uses unicode on the filesystem
The directory which has the site has an "æ" in the name.
The database is MySQL 4.1.10 and is UTF-8 enabled as far as I can see with phpMyAdmin.
Browser I test with is Opera 8 and Konqueror

In the site details I put utf-8 characteres in "user path" and "admin path". That does not seem to work at all.
I also tried to use a database with an UTF-8 character in the name but gave up on that as it displayed crap in the "Database:" dropdown menue.

The meta tag seems ok during the install procedure:
meta http-equiv="Content-Type" content="text/html; charset=utf-8" /

Is this meant to work? Or should database names/user path/admin path be in the 127 default ASCII charakter set?

I'm a bit nervous about this as I'm trying to use eZ on a url hta will have Norwegian characters in it....

regards birger....

Łukasz Serwatka

Tuesday 17 May 2005 11:50:09 pm

Hi Birger,

Are you sure that your web browser automaticly set encoding to utf-8? Try also add in first line in pagelayout.tpl {*?template charset=utf-8?*}

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

Birger Kollstrand

Thursday 19 May 2005 1:08:50 pm

Hi,

Thank you for answering.

Yes I am sure of that both Opera and Konqueror was set to automatic encoding.
I have also tested by setting the encoding in both readers to UTF-8 and the
databasename is displayed correctly with the "æ".

I have also locked both web readers to ISO-8859-1 and it then displays garbage
for the "æ", as expected.

I'l try to change the template also to see if it helps, but I do have my doubts.

Birger
Linær AS