summaryrefslogtreecommitdiff
path: root/addons/document/static/src/js/document.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-10-17 17:10:31 +0200
committerXavier Morel <xmo@odoo.com>2017-10-17 17:10:31 +0200
commitd18b1605053d8c9ef9f3fe5c6d68a646ac40833b (patch)
treec05b27154e64d9f4877cfd11c9cf95ba553a6df8 /addons/document/static/src/js/document.js
parentd7cfa8c502f27bee5c2fccb35db47b08e3b3804b (diff)
[FIX] website_forum: properly read the faq
On P3, "text" IO (open(f, mode='r')) will default to the encoding provided by locale.getpreferredencoding(False) which apparently is regularly cp1252. Replace by misc.file_open which enforces UTF-8 decoding in text mode.
Diffstat (limited to 'addons/document/static/src/js/document.js')
0 files changed, 0 insertions, 0 deletions