---
title: "Discussion on \"gitlab ci与Powershell 乱码\" | Hashnode"
description: "Discussion on \"gitlab ci与Powershell 乱码\". 存在多种情况下的乱码，应用级别的乱码和控制台乱码\n应用级别的乱码类似如下：\n\nerror MSB1009: ��Ŀ�ļ������ڡ�\n\n这类需要配置应用的中文输出\n\n修改cmd的代码页即可。\n一种方法是在cmd的属性中修改默认代码页为437，第二种是用chcp 437命令修改。\n不过这两种解决方法的副作用是msbuild的输出会变为英文。\n更好的解决方法暂时还没倒腾出来。\n\n第二种，控制台乱码，这个难治，而且原因千奇百怪\n参考方案如下：\n解决windowspowershell中文显示问号及乱码..."
url: "https://hashnode.com/posts/gitlab-cipowershell/658e751db05adc47e3964873"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [gitlab ci与Powershell 乱码](https://blog.robinjiang.com/gitlab-cipowershell?utm_source=hashnode&utm_medium=feed)

存在多种情况下的乱码，应用级别的乱码和控制台乱码 应用级别的乱码类似如下： error MSB1009: ��Ŀ�ļ������ڡ� 这类需要配置应用的中文输出 修改cmd的代码页即可。 一种方法是在cmd的属性中修改默认代码页为437，第二种是用chcp 437命令修改。 不过这两种解决方法的副作用是msbuild的输出会变为英文。 更好的解决方法暂时还没倒腾出来。 第二种，控制台乱码，这个难治，而且原因千奇百怪 参考方案如下： 解决windowspowershell中文显示问号及乱码...

Aug 11, 2017 · 1 min read · blog.robinjiang.com  
Read the article

## Written by

[robin Jiang](https://hashnode.com/@robinj)

@robinj · SHENZHEN,CN

  
[View profile](https://hashnode.com/@robinj)

Geek,Agile

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
