Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/.editorconfig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9822 - (show annotations) (download)
Fri Mar 18 13:09:26 2022 UTC (2 years ago) by zmatsuo
File size: 1098 byte(s)
インストーラのメッセージが文字化けすることがあるので修正

- インストーラがUnicode版の時、メッセージもUnicodeで扱われる
  - Inno Setup 6 は Unicode版のみ
  - issファイル内のメッセージを Unicode として扱う、または Unicode へ変換する
- issファイルの文字コードが不明なとき
  issファイル内の [LangOptions] セクションの LanguageCodePage か
  system code page を使って変換されるようだ
  - issファイル内には LanguageCodePage の指定はない
  - OS の system code page が利用される
- 日本語版Windows(システムロケールが日本語)の場合は、文字化けしない
  - issファイルの文字コードは Shift_JIS だった
- 英語版Windowsの場合は、文字化けする
  - AppVeyorのビルド環境は英語版Windows
- issファイルをBOM付きUTF-8にした
  - Inno Setup 6 には ANSI版は無い
1 root = true
2
3 [*]
4 indent_style = tab
5 indent_size = 4
6
7 [*.{cpp,c,h,cc}]
8 indent_style = tab
9 indent_size = 4
10 end_of_line = crlf
11 charset = cp932
12 trim_trailing_whitespace = true
13 insert_final_newline = true
14
15 [*.html]
16 end_of_line = crlf
17 charset = cp932
18 indent_style = space
19 indent_size = 2
20
21 [*.md]
22 end_of_line = crlf
23 charset = utf-8-bom
24 indent_style = space
25
26 [*.pl]
27 end_of_line = crlf
28 charset = utf-8-bom
29 indent_style = tab
30 indent_size = 4
31
32 [*.txt]
33 end_of_line = crlf
34 charset = cp932
35 indent_style = tab
36 indent_size = 4
37
38 [*.asm]
39 end_of_line = crlf
40 charset = utf8
41 indent_style = space
42 indent_size = 4
43 trim_trailing_whitespace = true
44 insert_final_newline = true
45
46 [{CMakeLists.txt,*.cmake}]
47 end_of_line = crlf
48 charset = utf-8-bom
49 indent_style = space
50 indent_size = 2
51 trim_trailing_whitespace = true
52 insert_final_newline = true
53
54 [*.bat]
55 charset = cp932
56 indent_style = space
57 indent_size = 4
58
59 [{*.iss,*.iss.in}]
60 end_of_line = crlf
61 charset = utf-8-bom
62 indent_style = space
63 indent_size = 2
64 trim_trailing_whitespace = true
65 insert_final_newline = true

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26