![]() Also note each handle can independently be bad or good. 1 is definitely invalid, while 0 is probably invalid. and 11 OR if you've been created via CreateProcess, possibly -1 For console apps, the console handles are set to values like 3, 7, Throw new NotSupportedException(Environment.GetResourceString("NotSupported_Code29")) Throw new ArgumentException(String.Format(Environment.GetResourceString("Argument_CodepageNotSupported"), codepage), "codepage") #define CP_SYMBOL 42 // SYMBOL translations #define CP_THREAD_ACP 3 // current thread's ANSI code page ![]() #define CP_MACCP 2 // default to MAC code page #define CP_OEMCP 1 // default to OEM code page #define CP_ACP 0 // default to ANSI code page Win32 also allows the following special code page values. Private static Encoding GetEncodingRare(int codepage)īCLDebug.Assert(codepage != 0 & codepage != 1200 & codepage != 1201 & codepage != 65001, "This code page ("+codepage+" isn't supported by GetEncodingRare!")
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |