[Bug 433260] Re: par2 cannot work with special characters
bastiaan
bastiaan at bjacques.org
Thu Sep 24 11:33:07 UTC 2009
I don't entirely understand where the UTF-16 comment came from. The PAR2
spec says the following:
"?*4 ASCII char array Name of the file. This array is not
guaranteed to be null terminated! Subdirectories are indicated by an
HTML-style '/' (a.k.a. the UNIX slash). The filename must be unique."
(from http://www.par2.net/par2spec.php#i__134603784_644 )
But in the case of a file I was looking at, the encoding was actually
ISO-8859-1, not ASCII. My console locale was actually UTF-8. Either way,
as indicated by this bug, par2cmdline does not actually convert the
filename from one locale to the other (and one would wonder how par2
could know which character set to convert from, since the spec refers to
ASCII).
That said, for me there was an easy workaround: simply use `convmv' to
move the files par2 was unable to find from UTF-8 to ISO-8859-1;
subsequently, par2 was able to find the files. After verifying them I
simply reversed the convmv.
--
par2 cannot work with special characters
https://bugs.launchpad.net/bugs/433260
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list