|  | 
  FREDJ A .J - 2011-08-04 02:19:36
  Manuel Lemos - 2011-08-04 02:54:47 - In reply to message 1 from FREDJ A .JIf you are using Arabic text, you need to set the message encoding according to character set you are using. You probably just need to set the default_charset variable to utf-8 or whatever character set you text uses.
  FREDJ A .J - 2011-08-04 03:13:38 - In reply to message 2 from Manuel LemosThank you Manuel, already done "utf-8" works just fine, but the problem is that the mail subject still unreadable,
 NB: when i use '=?UTF-8?B?' . base64_encode($subject) . '?='
 works but is there another way?
 
 
 Thanks Again.
  Manuel Lemos - 2011-08-04 03:57:33 - In reply to message 3 from FREDJ A .JYou should not encode the header values yourself. The class does that for you. Just pass it the header values with Arabic text using SetEncodedHeader or SetEncodedEmailHeader.
  FREDJ A .J - 2011-08-04 04:35:38 - In reply to message 4 from Manuel Lemosi don't understand?
 SetEncodedHeader("Subject", $subject);
 
 SetEncodedHeader("Subject", $subject, $encoding_charset = 'UTF-8')
  Manuel Lemos - 2011-08-04 04:47:12 - In reply to message 5 from FREDJ A .JYes, either way it is fine. If you specify the encoding_charset parameter, it will override the value set in the class variable default_charset, so it is not necessary to specify that parameter.
  FREDJ A .J - 2011-08-04 05:10:11 - In reply to message 6 from Manuel Lemosi really appreciate your help, but the same problem, none of them work!
  Manuel Lemos - 2011-08-04 06:07:21 - In reply to message 6 from Manuel Lemos
  FREDJ A .J - 2011-08-04 18:49:44 - In reply to message 8 from Manuel Lemosbody work, but not subject!!
  FREDJ A .J - 2011-08-04 18:50:31 - In reply to message 8 from Manuel Lemosbody work, but not subject!! |