local: refactor default os encoding out from local backend into shared encoder lib

This commit is contained in:
albertony
2021-05-28 13:34:29 +02:00
parent 63708d73be
commit 9a2811f0b2
7 changed files with 28 additions and 32 deletions

View File

@@ -195,7 +195,7 @@ enabled, rclone will no longer update the modtime after copying a file.`,
Name: config.ConfigEncoding,
Help: config.ConfigEncodingHelp,
Advanced: true,
Default: defaultEnc,
Default: encoder.OS,
}},
}
fs.Register(fsi)