summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-02 14:26:30 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-02 14:26:30 -0400
commit046517d043c481788f624473586522e78001fc68 (patch)
tree699c54b0111e3ed0e36f2e5d00f92e64730ef94d
parentf0b41b4e142633c4203b06c9c53d9dabd2fc1ba9 (diff)
cannot reproduce
-rw-r--r--doc/bugs/view_fails_with___34__invalid_character__34__/comment_1_7c5447729352f75afd0bde1daf0f849f._comment34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/view_fails_with___34__invalid_character__34__/comment_1_7c5447729352f75afd0bde1daf0f849f._comment b/doc/bugs/view_fails_with___34__invalid_character__34__/comment_1_7c5447729352f75afd0bde1daf0f849f._comment
new file mode 100644
index 000000000..71d4f4507
--- /dev/null
+++ b/doc/bugs/view_fails_with___34__invalid_character__34__/comment_1_7c5447729352f75afd0bde1daf0f849f._comment
@@ -0,0 +1,34 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-07-02T18:18:22Z"
+ content="""
+It seems like you have some kind of system misconfiguration,
+resulting in setlocale(3) failing. Probably `LC_ALL` is set to a locale
+that is not available or is somehow broken.
+
+I tested by setting metadata to a completely bogus unicode value, and it
+all works ok here:
+
+ joey@darkstar:~/tmp/annex>git annex metadata -s person=$(perl -le "print chr(0x99999999)") you
+ Wide character in print at -e line 1.
+ metadata you
+ lastchanged=2015-07-02@18-23-34
+ person=�������
+ person-lastchanged=2015-07-02@18-23-34
+ ok
+ (recording state in git...)
+ joey@darkstar:~/tmp/annex>git annex metadata you
+ metadata you
+ lastchanged=2015-07-02@18-23-34
+ person=�������
+ person-lastchanged=2015-07-02@18-23-34
+ ok
+ joey@darkstar:~/tmp/annex>git annex view person='*'
+ view (searching...)
+
+ Switched to branch 'views/person=_'
+ ok
+ joey@darkstar:~/tmp/annex#person=_>ls
+ Gödel/ \376\202\231\246\231\246\231/
+"""]]