From e13209bde99fbf205111103aff81c1e197c2cf2f Mon Sep 17 00:00:00 2001 From: otya128 Date: Tue, 27 Dec 2016 15:55:39 +0900 Subject: [PATCH] Fix SAVE encoding --- SMILEBASIC/project.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMILEBASIC/project.d b/SMILEBASIC/project.d index 03b6260..27be8bf 100644 --- a/SMILEBASIC/project.d +++ b/SMILEBASIC/project.d @@ -193,7 +193,7 @@ r"ファイルを書き込みます。 if (!isValidFilename(file.name)) throw new IllegalFunctionCall("SAVE"); auto path = buildPath(projectPath, project, "TXT"w, file.name).to!string; - write(path, content); + write(path, content.to!string/*UTF8*/); result = DialogResult.SUCCESS; }