Comments (7)
@pigLoveRabbit520 Confirmed its an issue of your Console codepage. You are using cp936(Simplified Chinese). It prints 组 as 缁. chcp 65001(UTF8) should print 组 as 组. So its not the issue of nlomann json.
from json.
I cannot reproduce this.
from json.
On Linux I also got the right answer. but I am using Windows and visual studio.
On windows I got the wrong answer.
from json.
Can you show the output of data.dump(-1, ' ', true)
? This should show \u7ec4
, but I want to be sure.
from json.
@syoyo I have changed the codepage to 65001, however, I got the wrong result
from json.
Please check my previous comment and post the output of dump
from json.
(And since I'm neither familiar with Chinese nor Windows - could there be an issue with the font?)
from json.
Related Issues (20)
- JSON can't parse a simple data HOT 2
- JSON_BuildTests fail when JSON_DisableEnumSerialization is set to ON
- VS 2022 latest version on win 10 latest version don't compile any recent version of JSON... HOT 2
- Crashes when I try to use ‘json::at()’ on a properly structured, non null, and correctly constructed ‘.json’ file HOT 2
- Unable to parse JSON string from snake case to camel case HOT 1
- Failing to read complex Unicode string embedded in JSON HOT 3
- CVE-2024-39705
- CVE-2024-22190
- CVE-2024-3651
- CVE-2024-22195, CVE-2024-34064
- CVE-2024-35195
- Tornado vulnerabilities
- CVE-2024-37891
- CVE-2024-5569
- CVE-2024-39689
- CVE-2024-34062
- Coverity issues with Coverity 2024.6.0
- A lot of EOT in json file HOT 1
- Structure declared in natvis file template doesn't seem to match current structure of `basic_json<>`
- Assert when using std::views::filter and GCC 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json.