[MERGE] OPW 577359: encoding issues when fetching mails with inconsistent encodings
authorOlivier Dony <odo@openerp.com>
Fri, 27 Jul 2012 14:59:41 +0000 (16:59 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 27 Jul 2012 14:59:41 +0000 (16:59 +0200)
commit981fe7377a244046049509f370c0e2fcbc245741
tree05a415d861a39a56223c80cb40d80919507b0901
parentac54e1405e4d14a5968c7e75aa677fe68817bf72
parent629034551248c76af6566d24c6a7e39441033523
[MERGE] OPW 577359: encoding issues when fetching mails with inconsistent encodings

By giving control on the error handling in
tool.ustr(), we let the caller decide what
should happen with invalid characters.
e.g. with errors="replace", all invalid
characters will be replaced by the UTF-8
question-mark character U+FFFD.

bzr revid: odo@openerp.com-20120727145941-7svyvsyvrtlhzkd0