Giter VIP home page Giter VIP logo

Comments (4)

zu1k avatar zu1k commented on June 27, 2024

最新的 master 分支有这个问题吗

from nali.

Feiyuyu0503 avatar Feiyuyu0503 commented on June 27, 2024
go install github.com/zu1k/nali@master

我这样安装的,替换了原来的nali.exe,问题依然存在

from nali.

zu1k avatar zu1k commented on June 27, 2024

看起来 PS 7.4 又改变编码了,这还导致 oh-my-posh 出现问题,可以通过以下命令查看你的 PS 的编码方式。

[console]::InputEncoding; [console]::OutputEncoding

暂时的建议是用 cmd,加 --gbk

from nali.

Feiyuyu0503 avatar Feiyuyu0503 commented on June 27, 2024

看起来 PS 7.4 又改变编码了,这还导致 oh-my-posh 出现问题,可以通过以下命令查看你的 PS 的编码方式。

[console]::InputEncoding; [console]::OutputEncoding

暂时的建议是用 cmd,加 --gbk

多谢作者回复。我确实也用了oh-my-posh,在cmd下加--gbk一切正常。Powershell查看编码方式内容如下:

# [console]::InputEncoding; [console]::OutputEncoding

EncodingName      : Chinese Simplified (GB2312)
WebName           : gb2312
HeaderName        : gb2312
BodyName          : gb2312
Preamble          :
WindowsCodePage   :
IsBrowserDisplay  :
IsBrowserSave     :
IsMailNewsDisplay :
IsMailNewsSave    :
IsSingleByte      : False
EncoderFallback   : System.Text.InternalEncoderBestFitFallback
DecoderFallback   : System.Text.InternalDecoderBestFitFallback
IsReadOnly        : True
CodePage          : 936

EncodingName      : Chinese Simplified (GB2312)
WebName           : gb2312
HeaderName        : gb2312
BodyName          : gb2312
Preamble          :
WindowsCodePage   :
IsBrowserDisplay  :
IsBrowserSave     :
IsMailNewsDisplay :
IsMailNewsSave    :
IsSingleByte      : False
EncoderFallback   : System.Text.InternalEncoderBestFitFallback
DecoderFallback   : System.Text.InternalDecoderBestFitFallback
IsReadOnly        : False
CodePage          : 936

from nali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.