summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_fromkey_barfs_on_utf-8_input/comment_1_aa6fe46ee76dd8bfa9a56cbd5131cb8b._comment
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/git-annex_fromkey_barfs_on_utf-8_input/comment_1_aa6fe46ee76dd8bfa9a56cbd5131cb8b._comment')
-rw-r--r--doc/bugs/git-annex_fromkey_barfs_on_utf-8_input/comment_1_aa6fe46ee76dd8bfa9a56cbd5131cb8b._comment55
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_fromkey_barfs_on_utf-8_input/comment_1_aa6fe46ee76dd8bfa9a56cbd5131cb8b._comment b/doc/bugs/git-annex_fromkey_barfs_on_utf-8_input/comment_1_aa6fe46ee76dd8bfa9a56cbd5131cb8b._comment
new file mode 100644
index 000000000..a0409e281
--- /dev/null
+++ b/doc/bugs/git-annex_fromkey_barfs_on_utf-8_input/comment_1_aa6fe46ee76dd8bfa9a56cbd5131cb8b._comment
@@ -0,0 +1,55 @@
+[[!comment format=mdwn
+ username="alpernebbi"
+ avatar="http://cdn.libravatar.org/avatar/daf2abb14f39e28ad75d5f9a03fcd106"
+ subject="UTF-8 problems in some other commands"
+ date="2016-12-05T20:46:07Z"
+ content="""
+Running the command above gives me the same error on Xubuntu 16.04, using `git-annex-standalone` package from NeuroDebian repositories.
+
+ git-annex version: 6.20161122+gitg9f179ae-1~ndall+1
+ build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotify XMPP ConcurrentOutput TorrentParser MagicMime Feeds Quvi
+ key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
+ remote types: git gcrypt S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
+ local repository version: 5
+ supported repository versions: 3 5 6
+ upgrade supported from repository versions: 0 1 2 3 4 5
+ operating system: linux x86_64
+
+I encountered other commands that fail as well:
+
+ $ touch u.txt ü.txt
+ $ git annex add
+
+ $ git-annex calckey ü.txt
+ # prints key
+
+ $ git-annex calckey --batch
+ ü.txt
+ # dies
+
+ $ git-annex lookupkey ü.txt
+ # prints key
+
+ $ git-annex lookupkey --batch
+ ü.txt
+ # dies
+
+ $ git-annex metadata --batch --json
+ {\"file\":\"ü.txt\"}
+ # dies
+
+ $ git-annex metadata --batch --json
+ {\"file\":\"u.txt\",\"fields\":{\"ü\":[\"b\"]}}
+ # dies
+
+ $ git-annex metadata --batch --json
+ {\"file\":\"u.txt\",\"fields\":{\"a\":[\"ü\"]}}
+ # dies
+
+All those die without output, all $? are 0.
+No values were recorded to metadata.
+Also:
+
+ $ git-annex-metadata --json
+ # entry for \"ü.txt\" has \"file\":\"��.txt\"
+"""]]