Fix SAVE encoding
This commit is contained in:
1 parent
618a145c9c
commit
e13209bde9
1 file changed
+1
-1
@@ -193,7 +193,7 @@ r"ファイルを書き込みます。
|
|||||||
if (!isValidFilename(file.name))
|
if (!isValidFilename(file.name))
|
||||||
throw new IllegalFunctionCall("SAVE");
|
throw new IllegalFunctionCall("SAVE");
|
||||||
auto path = buildPath(projectPath, project, "TXT"w, file.name).to!string;
|
auto path = buildPath(projectPath, project, "TXT"w, file.name).to!string;
|
||||||
write(path, content);
|
write(path, content.to!string/*UTF8*/);
|
||||||
result = DialogResult.SUCCESS;
|
result = DialogResult.SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user