forked from TrueCloudLab/rclone
encodings: add all known backend encodings
This commit is contained in:
parent
a56c9ab61d
commit
c09b62a088
6 changed files with 388 additions and 21 deletions
15
lib/encoder/standard.go
Normal file
15
lib/encoder/standard.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
// +build !noencode
|
||||
|
||||
package encoder
|
||||
|
||||
// Standard defines the encoding that is used for paths in- and output by rclone.
|
||||
//
|
||||
// List of replaced characters:
|
||||
// (0x00) -> '␀' // SYMBOL FOR NULL
|
||||
// / (slash) -> '/' // FULLWIDTH SOLIDUS
|
||||
const Standard = MultiEncoder(
|
||||
EncodeZero |
|
||||
EncodeSlash |
|
||||
EncodeCtl |
|
||||
EncodeDel |
|
||||
EncodeDot)
|
Loading…
Add table
Add a link
Reference in a new issue