From: Jiri Srain Date: Thu, 10 May 2018 11:46:07 +0000 (+0200) Subject: move warning in case of non-UTF8 locale to man page (bsc#1092103) X-Git-Tag: v0.5.6~12^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af8822ee34cb3789baf1884a4289b46eb56a085a;p=thirdparty%2Fsnapper.git move warning in case of non-UTF8 locale to man page (bsc#1092103) --- diff --git a/client/snapper.cc b/client/snapper.cc index a75a85a7..b176a539 100644 --- a/client/snapper.cc +++ b/client/snapper.cc @@ -1525,11 +1525,6 @@ main(int argc, char** argv) cerr << _("Failed to set locale. Fix your system.") << endl; } - if (strcmp(nl_langinfo(CODESET), "UTF-8") != 0) - { - cerr << _("Running in non UTF-8 locale. Setup is unsupported.") << endl; - } - setLogDo(&log_do); setLogQuery(&log_query); diff --git a/doc/snapper.xml.in b/doc/snapper.xml.in index 9073ab32..67b9e2d1 100644 --- a/doc/snapper.xml.in +++ b/doc/snapper.xml.in @@ -89,6 +89,8 @@ With each snapshot a description and some userdata can be associated. The description is a string. The userdata is a list of key-value pairs where the keys and values are strings. + Do not use non-ASCII characters for the snapshot description, unless you + always use the UTF-8 character encoding. diff --git a/package/snapper.changes b/package/snapper.changes index 1837bd8f..6ab0b704 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 10 11:43:53 UTC 2018 - jsrain@suse.cz + +- move warning in case of non-UTF8 locale to man page (bsc#1092103) + ------------------------------------------------------------------- Fri Apr 20 14:19:29 CEST 2018 - aschnell@suse.com