[imp] different charsets?

Chuck Hagenbuch chuck@horde.org
Wed, 24 Jan 2001 17:20:24 -0500


Quoting Rich Lafferty <rich@horde.org>:

> I'm vaguely familiar with Unicode issues from discussions on how to
> implement same in Perl. I'd say this is something to be taken care of
> much later; trying to determine the character set that an incoming
> message uses, mapping that to some part of the Unicode space, and then
> using that as well as the (possibly different) part of the Unicode
> space requested for the user interface strikes me as *awfully* hairy. 

Well, if a message doesn't say what charset it's in, we have to assume ascii. 
But most messages do, so that part is taken care of...

> It also looks like we'd be implementing the translation ourselves,
> since ONCE AGAIN (grr) PHP only thinks in ISO-8859-1.

There's the recode module, plus some utf8 functions in the xml module...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Entropy. It's what's for dinner.