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-20120727134402-vafp3wqlwnjsxntk