Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OEMDecoder is the deduced legacy DOS/OEM decoder for the current system locale OEMDecoder *encoding.Decoder = charmap.CodePage437.NewDecoder() // ANSIDecoder is the deduced legacy Windows/ANSI decoder for the current system locale ANSIDecoder *encoding.Decoder = charmap.Windows1252.NewDecoder() // ANSIEncoder is the deduced legacy Windows/ANSI encoder for the current system locale ANSIEncoder *encoding.Encoder = charmap.Windows1252.NewEncoder() // SystemDecoder is the default system fallback decoder SystemDecoder *encoding.Decoder = charmap.CodePage437.NewDecoder() // OEMEncoding is the deduced legacy DOS/OEM encoding for the current system locale OEMEncoding encoding.Encoding = charmap.CodePage437 // ANSIEncoding is the deduced legacy Windows/ANSI encoding for the current system locale ANSIEncoding encoding.Encoding = charmap.Windows1252 // ANSICodepage and OEMCodepage are the Windows codepage numbers behind // ANSIEncoding and OEMEncoding (1251, 866, ...), for callers that show // or store the number rather than the encoding. On a Windows machine // set to a UTF-8 system codepage they are the locale's legacy codepages // (what GetACP/GetOEMCP would have said without that setting), not // 65001. 0 where the platform gives no number, which is every non-Windows // platform today. ANSICodepage int OEMCodepage int )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.