Postcatlab / Postcatlab/postcat

本地环境下返回的json字符串中unicode未能正确转换为汉字

Open
#301 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.5k
Forks
796
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

复现方式:win10端本地测试环境,php直接输出的json字符串
echo (json_encode(array('error' => 1, 'msg' => '你已经登录,请刷新页面')));

bug截图:
![image](https://user-images.githubusercontent.com/23515021/233300428-8555b118-603b-4478-bc44-0acca1c9f5bb.png)

### Environment

- 版本: 0.5.1
- Electron: 22.1.0
- Chromium: 108.0.5359.179
- Node.js: 16.17.1
- V8: 10.8.168.25-electron.0
- OS: Windows_NT x64 10.0.17763
- 平台: Electron

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.