character set problem (UTF-8, greek)

Author Message

Oliver Dahlmann

Monday 14 June 2004 3:26:28 am

I’m trying to set up a multilingual website with ezPublish 3.4, containing content in english, german and greek language on an Server running Mandrake 10.0 official Linux.

The Problem is that I only get ρϛ and so on on the browser-screen. I know that some guys had the same problem before, but all of the tips and tricks out of the forum and the ezPublish-documentation didn’t help me.

This is what I have done: Because of the greek language I decided to use UTF-8 charset.

I did the following things:

- I downloaded MySQL 4.1.2-alpha-standard for UTF-8 Support. I created the database with UTF-8 Support (create database bla character set utf8;). Seems to work fine.
- I downloaded the ‘php-mbstring-4.3.4-1mdk.i586.rpm’ and installed it. I also changed the default character set in /etc/php.ini.
- I edited the i18n.ini, the site.ini and the override.ini and set the character set from iso-8859-1 to utf-8.
- I created some additional directories under settings/siteaccess called website_de, website_en and website_el (for the greek language).
- I have made a ‘translation.ts’-file and moved it to share/translations/ell-EL, I also created a file named ell-EL.ini with the lines:

[RegionalSettings]
Country=Greece
LanguageName=Greek
InternationalLanguageName=Greek (Greece)

[Charset]
Preferred=iso-8859-15 # I also tried utf8 and utf-8

[HTTP]
ContentLanguage=ell-EL

# Rest of the file like the English version

If I watch the website website_el in my browser, ezPublish delivers the right (greek) translated content, but is not able to show the Cyrillic charset. Where the browser should get a ρ for example, it gets a ρ which will printed on the screen like &#961.

If I look into the sourcecode of the generated webside, I see the line
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Has somebody an Idea what I&#8217;m doing wrong?

Thank you very much,

Oliver

Björn [email protected]

Monday 14 June 2004 5:40:08 am

Please double check the following...

site.ini <- db charset set to utf8

check the admin area <- does it have settings for uft8 too?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.