Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xq@owin ~ ❯❯❯ [psobject].Assembly.GetTypes() | Where-Object { $_.Name -eq 'ClrFacade'} |
- >> ForEach-Object {
- >> $_.GetMethod('GetDefaultEncoding', [System.Reflection.BindingFlags]'nonpublic,static').Invoke($null, @())
- >> }
- BodyName : gb2312
- EncodingName : 简体中文(GB2312)
- HeaderName : gb2312
- WebName : gb2312
- WindowsCodePage : 936
- IsBrowserDisplay : True
- IsBrowserSave : True
- IsMailNewsDisplay : True
- IsMailNewsSave : True
- IsSingleByte : False
- EncoderFallback : System.Text.InternalEncoderBestFitFallback
- DecoderFallback : System.Text.InternalDecoderBestFitFallback
- IsReadOnly : True
- CodePage : 936
- xq@owin ~ ❯❯❯
- xq@owin ~ ❯❯❯ [Console]::OutputEncoding
- BodyName : utf-8
- EncodingName : Unicode (UTF-8)
- HeaderName : utf-8
- WebName : utf-8
- WindowsCodePage : 1200
- IsBrowserDisplay : True
- IsBrowserSave : True
- IsMailNewsDisplay : True
- IsMailNewsSave : True
- IsSingleByte : False
- EncoderFallback : System.Text.EncoderReplacementFallback
- DecoderFallback : System.Text.DecoderReplacementFallback
- IsReadOnly : False
- CodePage : 65001
- xq@owin ~ ❯❯❯ [Console]::InputEncoding
- BodyName : utf-8
- EncodingName : Unicode (UTF-8)
- HeaderName : utf-8
- WebName : utf-8
- WindowsCodePage : 1200
- IsBrowserDisplay : True
- IsBrowserSave : True
- IsMailNewsDisplay : True
- IsMailNewsSave : True
- IsSingleByte : False
- EncoderFallback : System.Text.EncoderReplacementFallback
- DecoderFallback : System.Text.DecoderReplacementFallback
- IsReadOnly : False
- CodePage : 65001
- xq@owin ~ ❯❯❯ cat C:\Users\xq\Desktop\11.txt
- 鏄笉鏄瀮鍦捐€冭檻鍒版埧浠锋墦璧?wq
- xq@owin ~ ❯❯❯
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement