felixse / felixse/FluentTerminal

Encoding issue

未关闭
#331 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
9.6k
派生
448
PR 合并指标
30 天内没有已合并 PR

描述

Somehow FluentTerminal uses `cp0` as default code page, which causes trouble for non-ASCII characters. The following Python script does not work in FluentTerminal (and the Python process cannot quit with `exit()`):

```python
print u'こんにちは'
```

![image](https://user-images.githubusercontent.com/1465267/56482926-480da980-64f9-11e9-8075-c1103c491236.png)

As you can see the code page used is `cp0`.

![image](https://user-images.githubusercontent.com/1465267/56482941-64a9e180-64f9-11e9-9472-c7de2a4e80be.png)

My system locale is zh_CN so the correct code page should be `cp936`.

![image](https://user-images.githubusercontent.com/1465267/56482978-928f2600-64f9-11e9-8e0b-3c4857490107.png)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。