FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » problems with french - charset issue?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: problems with french - charset issue? [message #12013 is a reply to message #12011] Thu, 24 July 2003 20:17 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
That's a little tricky, because you actually can't assume that every message will have the same encoding, the actual encoding is specified by the mail client. So you need to use the headers array to determine the character set of the message, and if it is not ISO-8859-1 and ISO-8859-15 convert it to ISO-8859-15.

The two variables you need to convert are:
$emsg->body
$emsg->subject


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: showing only one category at a time
Next Topic: Tips on finding out users' identities
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 04:45:22 GMT 2024

Total time taken to generate the page: 0.06911 seconds