use_converter_cache = false;
converter_cache_maxage = 6 * 30 * 24 * 3600; // 6 months
- user_name = support::user_name();
+ user_name = to_utf8(support::user_name());
- user_email = support::user_email();
+ user_email = to_utf8(support::user_email());
}
}
-void LyXRC::write(string const & filename, bool ignore_system_lyxrc) const
+void LyXRC::write(FileName const & filename, bool ignore_system_lyxrc) const
{
- ofstream ofs(filename.c_str());
+ ofstream ofs(filename.toFilesystemEncoding().c_str());
if (ofs)
write(ofs, ignore_system_lyxrc);
}