Fix SAVE encoding
This commit is contained in:
@@ -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