[imp] different charsets?

Rich Lafferty rich@horde.org
Wed, 24 Jan 2001 10:00:44 -0500


On Wed, Jan 24, 2001 at 01:30:32PM +0500, Roman Serbski (libser@manas.kg) wrote:
> Good day all!
> 
> Is it possible to handle different charsets with IMP? For example, my
> customers use Turkish and Russian. Both of this languages uses absolutely
> different encoding tables. I mean English+Russian is OK, Turkish+English is
> OK too

The Russian and Turkish character sets contain the English one.

> but Russian+Turkish will not work.

There *is* no Russian-and-Turkish character set!

> IMP returns "undefined symbol". I suppose I need to change charset
> headers in php files, but can IMP handle multiple charsets?

IMP can and does, but only one at a time, because that's all your
browser can handle. See horde/lang.php3, horde/imp/lang.php3, and the
locale/ directories underneath horde/ and horde/imp/.

You'll be able to set it up so that a customer can choose Russian when
he logs in and switch to Turkish halfway through a session, but you
won't be able to, for example, display the user interface in Russian
while reading Turkish mail.

  -Rich

-- 
------------------------------ Rich Lafferty ---------------------------
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC                 (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------