Community mailing list archives
community@mail.odoo.com
Browse archives
Pasting ANSI (windows-1251) text into odoo
by
Ygol InternetWork, Yves Goldberg
Hello,
A customer needs to be able to paste text (copied from ansi / windows-cp1251) into odoo text fields (bank statement's reference).
(the source documents are pdf already encoded in wrong codepage so converting them to utf-8 doesn't seem the way to go.)
I was thinking to use a function to grab the saved ansi text, convert it and save it back in unicode. Is there a better way you can think of?
TIA
--
Yves
--