ソースを参照

Remove BOM and add example check.

Martijn Laan 1 年間 前
コミット
efee61b005
1 ファイル変更5 行追加1 行削除
  1. 5 1
      Examples/UnicodeExample1.iss

+ 5 - 1
Examples/UnicodeExample1.iss

@@ -1,7 +1,11 @@
-; -- UnicodeExample1.iss --
+; -- UnicodeExample1.iss --
 ; Demonstrates some Unicode functionality.
 ;
 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
+//
+#if Ver < EncodeVer(6, 3, 0)
+  #error This file is UTF-8 encoded without a BOM which requires Inno Setup 6.3.0 or later
+#endif
 
 [Setup]
 AppName=ɯɐɹƃoɹd ʎɯ