]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
move warning in case of non-UTF8 locale to man page (bsc#1092103)
authorJiri Srain <jsrain@suse.cz>
Thu, 10 May 2018 11:46:07 +0000 (13:46 +0200)
committerJiri Srain <jsrain@suse.cz>
Thu, 10 May 2018 11:46:07 +0000 (13:46 +0200)
client/snapper.cc
doc/snapper.xml.in
package/snapper.changes

index a75a85a7f7a30fcac8ee479cd6acbb1e2330d11f..b176a53911666184f781e1920b5d2c422233636b 100644 (file)
@@ -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);
 
index 9073ab320c73b525b501a70a63375a1a3c1d8f72..67b9e2d1f43c586e07d86c3f9ac490a55f3b6d56 100644 (file)
@@ -89,6 +89,8 @@
       <para>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.</para>
+      <para>Do not use non-ASCII characters for the snapshot description, unless you
+      always use the UTF-8 character encoding.</para>
     </refsect2>
 
     <refsect2 id='automatic_snapshot_creation'>
index 1837bd8fd4693858ec622ef21ee8068fed7495ff..6ab0b7041e87ee4db3b4dd6dc9f2958b6da58383 100644 (file)
@@ -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