• 请不要在回答技术问题时复制粘贴 AI 生成的内容
soulomoon
V2EX  ›  程序员

gitlab 自带的持续集成工具中文乱码的问题

  •  
  •   soulomoon · Apr 30, 2017 · 6230 views
    This topic created in 3306 days ago, the information mentioned may be changed or developed.

    有人知道 gitlab 自带的 ci 的如何显示出中文字符嘛?,目前用来持续集成 dotnet 的网站,但是服务器是中文的,出现错误信息的时候 gitlab 上显示的 terminal 错误输出历史编程了??问号了

    1 replies    2017-05-12 14:20:23 +08:00
    soulomoon
        1
    soulomoon  
    OP
       May 12, 2017
    问题已经解决, 通过在.gitlab-ci.yml MSBuild 前面
    添加一条 shell commmand:
    chcp 850
    MSbuild 会输出英文
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5256 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 08:56 · PVG 16:56 · LAX 01:56 · JFK 04:56
    ♥ Do have faith in what you're doing.