mirror of
https://github.com/rclone/rclone.git
synced 2025-08-10 06:07:46 +02:00
encodings: add all known backend encodings
This commit is contained in:
committed by
Nick Craig-Wood
parent
a56c9ab61d
commit
c09b62a088
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)
|
Reference in New Issue
Block a user