LibreOffice Module unotools (master) 1
|
#include <sal/config.h>
#include <unotools/configmgr.hxx>
#include <unotools/defaultencoding.hxx>
#include <officecfg/Office/Linguistic.hxx>
#include <officecfg/Setup.hxx>
#include <officecfg/System.hxx>
Go to the source code of this file.
Functions | |
OUString | utl_getLocaleForGlobalDefaultEncoding () |
Determines which locale should be used by default in filters when importing non-unicode strings. More... | |
OUString utl_getLocaleForGlobalDefaultEncoding | ( | ) |
Determines which locale should be used by default in filters when importing non-unicode strings.
This value should be used when the file does not explicitly define encoding of 8-bit strings. It is defined by officecfg::Office::Linguistic::General::DefaultLocale, or when it's not set, officecfg::Setup::L10N::ooSetupSystemLocale, and is typically mapped to a corresponding Windows codepage by filters.
Definition at line 18 of file defaultencoding.cxx.
References Translate::get(), utl::ConfigManager::IsFuzzing(), and result.