mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 09:26:27 -05:00
Fixes support of file names starting or ending with a space.
This commit is contained in:
parent
58f191ef1f
commit
35f3c092ed
8 changed files with 65 additions and 23 deletions
14
snapraid.d
14
snapraid.d
|
|
@ -488,6 +488,20 @@ Parity
|
|||
because it's the last block of a file, it's assumed as filled with 0
|
||||
at the end.
|
||||
|
||||
Encoding
|
||||
SnapRAID in Unix ignores any encoding. It simply read and stores the
|
||||
file names with the same encoding used by the filesystem.
|
||||
|
||||
In Windows all the names read from the filesystem are converted and
|
||||
processed in the UTF-8 format.
|
||||
|
||||
To have the file names printed correctly you have to set the Windows
|
||||
console in the UTF-8 mode, with the command "chmod 65001", and use
|
||||
a TrueType font like "Lucida Console" for the console font.
|
||||
Note that it has effect only on the printed file names, if you
|
||||
redirect the console output to a file, the resulting file is always
|
||||
in the UTF-8 format.
|
||||
|
||||
Copyright
|
||||
This file is Copyright (C) 2011 Andrea Mazzoleni
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue