Uploading an attachment with ä as a\xCC\x88 encoding makes it later impossible to rename:
File "/srv/moin-1.9/MoinMoin/action/AttachFile.py", line 301, in
move_attachment
filesize = os.path.getsize(attachment_path)
File "/usr/lib/python2.7/genericpath.py", line 57, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/srv/.../attachments/...\\xc3\\xa4....pdf'
does not normalize page text in any way (it is just whatever you typed in), so "not normalized" vs NFC vs NFD is unknown.
does not normalize filenames, so "not normalized" vs NFC vs NFD is unknown.
thus (moin running on linux):
it will work ok as long as you are consistent. when referring to an attachment, you need to refer to it precisely (same name, same unicode representation, same NFC / NFD, same encoded utf-8 byte sequence).
using a NFD link to a NFC attachment name (or vice versa) will not work.
Some characters can be encoded differently, e.g. the german umlaut
ä
can be:So it is both an
ä
somehow, but different unicode method:Uploading an attachment with ä as a\xCC\x88 encoding makes it later impossible to rename: