kingToolbox / kingToolbox/WindTerm

Better display of Chinese

Open
#1,923 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

code running in
1. mac terminal
![image](https://github.com/kingToolbox/WindTerm/assets/53213261/488971ad-52e5-4864-b987-0efeb9a0e290)

3. window cmd/power shell
![image](https://github.com/kingToolbox/WindTerm/assets/53213261/2a953bc1-ece5-4170-bbad-d6688f0c328a)

5. windterm(mac/window)
![image](https://github.com/kingToolbox/WindTerm/assets/53213261/71d3af18-bc2a-4e94-9657-9d66a62e42ad)

python code :

from prettytable import PrettyTable

x = PrettyTable()
x.field_names = ["城市名称", "城市名称编码", "人员", "人均工资(元)"]
x.add_row(["广州", 1295, 1158259, 600.5])
x.add_row(["石家庄", 5905, 1857594, 1146.4])
x.add_row(["加利福利亚", 112, 120900, 1714.7])
x.add_row(["呼和浩特", 1357, 205556, 619.5])

print(x)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the supplied PrettyTable Python output in the macOS and Windows terminal cases shown, then trace WindTerm's terminal text and encoding entry point; done means Chinese characters and the table display correctly across those cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
cli, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.