Page 1 of 1

Code page / charset

Posted: Tue 25. Jan 2005, 12:16
by pk2000
A problem that I ran into making a triple language site (Estonian, English, Russian): The code page/charset selection should be in the template. Currently it is possible to set code page in conf.inc.php but this does not allow to use different code pages. This is a problem when trying to make multi-language sites (Russian for example).

This stems the next question. Will phpwcms have a multi-language support? The current hack with structure levels is not a really good solution. It’s a hack.

I have seen posts requesting that the multi-language support should be synchronous (the article or structure level that's in one language is also in other languages). My take on this is that the languages should be asynchronous (languages can have different structure and articles).

On the cheerful note - thanks Oliver for a really good CMS. I’m very happy with phpwcms and use it for most of my projects.

Priit

PS the hack I used for code pages is that i commented out this charset part from index.php:

Code: Select all

//echo '<meta http-equiv="Content-Type" content="text/html; charset=';
echo /*PHPWCMS_CHARSET."\">\n".*/$block["htmlhead"]."<script src=\"";
and set it for all pages in template html header part.

What about utf-8?

Posted: Wed 26. Jan 2005, 12:28
by rudolf
Why don't you use utf-8 for all languages?

Posted: Fri 4. Feb 2005, 12:14
by pk2000
russian seems to break on many computers when using utf-8