fix(smb-backend): add explicit utf8 charset encoding (#768)
This commit is contained in:
parent
979e494e75
commit
4872029b87
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ const mount = async (config: BackendConfig, path: string) => {
|
|||
const source = `//${config.server}/${config.share}`;
|
||||
const { uid, gid } = os.userInfo();
|
||||
|
||||
const options = [`port=${config.port}`, `uid=${uid}`, `gid=${gid}`];
|
||||
const options = [`port=${config.port}`, `uid=${uid}`, `gid=${gid}`, "iocharset=utf8"];
|
||||
|
||||
if (config.guest) {
|
||||
options.push("username=guest", "password=");
|
||||
|
|
|
|||
Loading…
Reference in a new issue