github.com/xhghs/rclone@v1.51.1-0.20200430155106-e186a28cced8/lib/encoder/standard.go (about) 1 package encoder 2 3 // Standard defines the encoding that is used for paths in- and output by rclone. 4 // 5 // List of replaced characters: 6 // (0x00) -> '␀' // SYMBOL FOR NULL 7 // / (slash) -> '/' // FULLWIDTH SOLIDUS 8 const Standard = (EncodeZero | 9 EncodeSlash | 10 EncodeCtl | 11 EncodeDel | 12 EncodeDot) 13 14 // Base only encodes the zero byte and slash 15 const Base = (EncodeZero | 16 EncodeSlash | 17 EncodeDot) 18 19 // Display is the internal encoding for logging and output 20 const Display = Standard