Hi all,

I solved this bug with small patch in tools of openerp-server.
ustr method calls to get_encoding() function, this iterable function returns by 
default utf-8, it it isn't the correct coding then it returns the locale 
coding, in Linux case utf-8, if it isn't correct, check if the locale coding 
it's latin1 or iso-8859-1 or cp1252 and returns an equivalent coding, in Linux 
case it returns utf-8 too. Then for mails that was sent with Windows, if you 
try to open its in Linux, power email fails because mail coding is for example 
so-8859-15 or cp1252 and in linux, it never tests in ustr() method. This issue 
is solve test always returning latin1 or iso-8859-1 or cp1252 after 'utf-8 and 
locale coding.

** Patch added: "Pexego"
   
https://bugs.launchpad.net/poweremail/+bug/493997/+attachment/1767485/+files/poweremail_ustr_bug.patch

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/493997

Title:
  Error in accented characters encoding in received mail

Status in OpenObject Server:
  Invalid
Status in Power e-Mail for Open ERP:
  Incomplete

Bug description:
        * Display problem with accented characters, here is an example of mail 
downloaded:
           Je l'ai d=E9ja envoy=E9 un e-mail et j'attends encore sa r=E9ponse.
           D=E9sol=E9 pour le d=E9lai mis pour r=E9pondre =E0 vos mails, je 
suis trop= pris par la charge de travail que j'ai
        (=E9 is é ; =E0 is à)



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to