@@ -38,33 +38,33 @@ struct MIMECPINFO {
3838 uint dwFlags;
3939 uint uiCodePage;
4040 uint uiFamilyCodePage;
41- wchar [64 ] wszDescription ;
42- wchar [50 ] wszWebCharset ;
43- wchar [50 ] wszHeaderCharset ;
44- wchar [50 ] wszBodyCharset ;
45- wchar [32 ] wszFixedWidthFont ;
46- wchar [32 ] wszProportionalFont ;
41+ wchar wszDescription [64 ];
42+ wchar wszWebCharset [50 ];
43+ wchar wszHeaderCharset [50 ];
44+ wchar wszBodyCharset [50 ];
45+ wchar wszFixedWidthFont [32 ];
46+ wchar wszProportionalFont [32 ];
4747 ubyte bGDICharset;
4848}
4949
5050struct MIMECSETINFO {
5151 uint uiCodePage;
5252 uint uiInternetEncoding;
53- wchar [50 ] wszCharset ;
53+ wchar wszCharset [50 ];
5454}
5555
5656struct RFC1766INFO {
5757 uint lcid;
58- wchar [6 ] wszRfc1766 ;
59- wchar [32 ] wszLocaleName ;
58+ wchar wszRfc1766 [6 ];
59+ wchar wszLocaleName [32 ];
6060}
6161
6262struct SCRIPTINFO {
6363 ubyte ScriptId;
6464 uint uiCodePage;
65- wchar [64 ] wszDescription ;
66- wchar [32 ] wszFixedWidthFont ;
67- wchar [32 ] wszProportionalFont ;
65+ wchar wszDescription [64 ];
66+ wchar wszFixedWidthFont [32 ];
67+ wchar wszProportionalFont [32 ];
6868}
6969
7070struct DetectEncodingInfo {
@@ -290,28 +290,28 @@ private uint getCodePageFromName(string name) {
290290 */
291291abstract class Encoding {
292292
293- private const uint CP_DEFAULT = 0 ;
294- private const uint CP_ASCII = 20127 ;
295- private const uint CP_UTF16 = 1200 ;
296- private const uint CP_UTF16BE = 1201 ;
297- private const uint CP_UTF32 = 12000 ;
298- private const uint CP_UTF32BE = 12001 ;
299- private const uint CP_WINDOWS_1252 = 1252 ;
300- private const uint ISO_8859_1 = 28591 ;
301-
302- private const uint ISO_SIMPLIFIED_CN = 50227 ;
303- private const uint GB18030 = 54936 ;
304- private const uint ISO_8859_8I = 38598 ;
305- private const uint ISCII_DEVANAGARI = 57002 ;
306- private const uint ISCII_BENGALI = 57003 ;
307- private const uint ISCII_TAMIL = 57004 ;
308- private const uint ISCII_TELUGU = 57005 ;
309- private const uint ISCII_ASSEMESE = 57006 ;
310- private const uint ISCII_ORIYA = 57007 ;
311- private const uint ISCII_KANNADA = 57008 ;
312- private const uint ISCII_MALAYALAM = 57009 ;
313- private const uint ISCII_GUJARATHI = 57010 ;
314- private const uint ISCII_PUNJABI = 507011 ;
293+ private static const uint CP_DEFAULT = 0 ;
294+ private static const uint CP_ASCII = 20127 ;
295+ private static const uint CP_UTF16 = 1200 ;
296+ private static const uint CP_UTF16BE = 1201 ;
297+ private static const uint CP_UTF32 = 12000 ;
298+ private static const uint CP_UTF32BE = 12001 ;
299+ private static const uint CP_WINDOWS_1252 = 1252 ;
300+ private static const uint ISO_8859_1 = 28591 ;
301+
302+ private static const uint ISO_SIMPLIFIED_CN = 50227 ;
303+ private static const uint GB18030 = 54936 ;
304+ private static const uint ISO_8859_8I = 38598 ;
305+ private static const uint ISCII_DEVANAGARI = 57002 ;
306+ private static const uint ISCII_BENGALI = 57003 ;
307+ private static const uint ISCII_TAMIL = 57004 ;
308+ private static const uint ISCII_TELUGU = 57005 ;
309+ private static const uint ISCII_ASSEMESE = 57006 ;
310+ private static const uint ISCII_ORIYA = 57007 ;
311+ private static const uint ISCII_KANNADA = 57008 ;
312+ private static const uint ISCII_MALAYALAM = 57009 ;
313+ private static const uint ISCII_GUJARATHI = 57010 ;
314+ private static const uint ISCII_PUNJABI = 507011 ;
315315
316316 private static Encoding[uint ] encodings_;
317317 private static Encoding defaultEncoding_;
0 commit comments