Powershell和UTF-8 [英] Powershell and UTF-8

查看:102
本文介绍了Powershell和UTF-8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用原子创建的html文件 test.html ,其中包含:

I have an html file test.html created with atom which contains:

Testé编码utf-8

Testé encoding utf-8

当我使用Powershell控制台阅读时(我正在使用法语Windows)

When I read it with Powershell console (I'm using French Windows)

Get-Content -Raw test.html

我回来了:

Testé encoding utf-8

为什么重音字符无法正确打印?

Why is the accent character not printing correctly?

推荐答案

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆