mirror of
https://github.com/rclone/rclone.git
synced 2025-08-18 01:20:16 +02:00
local: refactor default os encoding out from local backend into shared encoder lib
This commit is contained in:
9
lib/encoder/os_darwin.go
Normal file
9
lib/encoder/os_darwin.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//+build darwin
|
||||
|
||||
package encoder
|
||||
|
||||
// OS is the encoding used by the local backend for macOS
|
||||
//
|
||||
// macOS can't store invalid UTF-8, it converts them into %XX encoding
|
||||
const OS = (Base |
|
||||
EncodeInvalidUtf8)
|
Reference in New Issue
Block a user