Encode strftime output into utf-8 before displaying in GUI

This commit is contained in:
Jean-Francois Dockes
2016-08-06 15:01:34 +02:00
parent 1d51eff4d8
commit bfb0f4c03b
4 changed files with 22 additions and 8 deletions
+5
View File
@@ -520,6 +520,11 @@ vector<string> RclConfig::getTopdirs() const
return tdl;
}
const string& RclConfig::getLocaleCharset()
{
return o_localecharset;
}
// Get charset to be used for transcoding to utf-8 if unspecified by doc
// For document contents:
// If defcharset was set (from the config or a previous call, this
+3
View File
@@ -239,6 +239,9 @@ class RclConfig {
static bool valueSplitAttributes(const string& whole, string& value,
ConfSimple& attrs) ;
/** Return the locale's character set */
static const std::string& getLocaleCharset();
/** Return icon path for mime type and tag */
string getMimeIconPath(const string &mt, const string& apptag) const;