Probably an encoding ssue with some charset (windows-1252/windows-1258)
Hi everybody,
I actually work on an IMAP reader from PHP. I have no issue on the IMAP system itself, all work but some mails I try to read have issue :On Plain text, with Windows charset (Windows-1252/windows-1258), Sometimes I have some special char encoded like this : "=92" ("'"), "=E9" ("é"), "=E0" ("à")
Anybody know how can I detect this charset and how to have an easy function to translate string (I understand I can do that with str_replace but in this case I will need the full list of char to be replaced and it's probably very long...) ?
My script is in UTF-8 if it's important to understand the issue
Have a nice day