felixse / felixse/FluentTerminal

Encoding issue

Open
#331 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
9.6k
Forks
448
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.