Encode strftime output into utf-8 before displaying in GUI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user