-
Mike Kaganski yazdı
[MS-WMF] 2.1.1.5 CharacterSet Enumeration defines DEFAULT_CHARSET "Specifies a character set based on the current system locale; for example, when the system locale is United States English, the default character set is ANSI_CHARSET" OEM_CHARSET is defined as follows: "Specifies a mapping to one of the OEM code pages, according to the current system locale setting" Currently, LO WMF import treats these values as synonim for RTL_TEXTENCODING_MS_1252. This patch fixes this to use LibreOffice locale setting instead. Strictly speaking, this is not quite correct for OEM. E.g., for Russian, DEFAULT_CHARSET is equal to codepage 1251, while OEM_CHARSET is codepage 866. But I don't know how to distinguish these two. Change-Id: Id5eaf070cde040bd6eb1db28f1a498d647ba227e Reviewed-on: https://gerrit.libreoffice.org/15641Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com>
c6bc9b33