• Mike Kaganski's avatar
    tdf#74301: WMF: use LibreOffice locale on OEM_CHARSET/DEFAULT_CHARSET · c6bc9b33
    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: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    c6bc9b33
Adı
Son kayıt (commit)
Son güncelleme
..
app Loading commit data...
bitmap Loading commit data...
components Loading commit data...
control Loading commit data...
edit Loading commit data...
filter Loading commit data...
font Loading commit data...
fontsubset Loading commit data...
gdi Loading commit data...
glyphs Loading commit data...
helper Loading commit data...
opengl Loading commit data...
outdev Loading commit data...
salmain Loading commit data...
src Loading commit data...
uipreviewer Loading commit data...
window Loading commit data...