aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_adds_unicode_characters_at_end_of_checksum.mdwn
blob: ec8d57b6527a0422d37119e3b035132b9f41fc8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
### Please describe the problem.
Files with special unicode characters(in this case japanese) for some reason have the characters added to the file key.

This is an issue because it causes errors when using glacier-cli when uploading copies to Glacier vault.

[[!meta title="kanji in key extension cause glacier-cli upload error"]]

### What steps will reproduce the problem?
Here's how it looks for me:

[[!format sh """
% ls -l 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
lrwxrwxrwx 1 sochan sochan 221 Mar  3 13:37 12. Change The World (feat. 웅산).mp3 -> ../../../.git/annex/objects/6G/8K/SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3/SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
 % g an info 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3   
file: 12. Change The World (feat. 웅산).mp3
size: 7.48 megabytes
key: SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
present: true
 % g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
 % sha256sum 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09  12. Change The World (feat. 웅산).mp3
"""]]

### What version of git-annex are you using? On what operating system?

[[!format sh """
 % git-annex version
git-annex version: 6.20170101.1
build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotify 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 p2p 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
% lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.3 (stretch)
Release:	9.3
Codename:	stretch
"""]]

### Please provide any additional information below.
Here's a sample file:
https://www.dropbox.com/s/kghlz41ooaqfr0h/12.%20Change%20The%20World%20%28feat.%20%EC%9B%85%EC%82%B0%29.mp3?dl=0

### Have you had any luck using git-annex before?
Dude, I love git-annex. I use it to have multiple copies of my HUGE music collection. I love that I can just have partial copies of my whole collection on my laptop/phone/remote servers/usb drive backup and have that all documented properly. This is some amazing software my man!

> [[done]]; see comments --[[Joey]]