Comments (8)
BOM is not supported in 0.1x. It is not a "bug" but a missing feature.
Encoding conversions with BOM detection was implemented in the newer version in
the trunk.
Original comment by [email protected]
on 8 Jun 2012 at 8:21
- Changed state: Fixed
from rapidjson.
I cloned repository from github just yesterday. Is it need to checkout from
google-code?
Original comment by [email protected]
on 8 Jun 2012 at 8:49
from rapidjson.
Rapidjson does not have an official repository on github. I think it may be the
first released version 0.1, copied to github by someone.
Original comment by [email protected]
on 8 Jun 2012 at 9:31
from rapidjson.
Ok, got it - not to use github's version.
Original comment by [email protected]
on 8 Jun 2012 at 11:11
from rapidjson.
Trunk SVN (from code.google.com) version does not support it either.
Original comment by [email protected]
on 14 Jun 2012 at 4:06
from rapidjson.
Please refer to
http://code.google.com/p/rapidjson/source/browse/trunk/test/unittest/encodedstre
amtest.cpp
Original comment by [email protected]
on 15 Jun 2012 at 2:07
from rapidjson.
Sorry, but I cannot understand what I must see there. What is "utf8.json"?
Anyway, I skipped first 3 bytes of UTF8+BOM text file within my project and
Rapidjson parsed it well.
Did you meant by that link that UTF8 with BOM is not supported and will not be
ever or that it is already supported?
Thank you.
Original comment by [email protected]
on 15 Jun 2012 at 1:58
from rapidjson.
Hum. The examples and documentation is not ready yet.
I think this example may help you with the new encoding feature, which also
handles BOM.
http://code.google.com/p/rapidjson/source/browse/trunk/example/prettyauto/pretty
auto.cpp
Original comment by [email protected]
on 16 Jun 2012 at 1:36
from rapidjson.
Related Issues (20)
- Fix of some clang warnings HOT 3
- Parsing crash HOT 2
- SIMD instruction can cause seg-fault/UMR HOT 6
- Adding elements to an array HOT 5
- Patches from GitHub HOT 4
- GenericDocument::ParseStream: make SourceEncoding optional HOT 1
- rapidjson accessing memory it doesn't own HOT 4
- Memory access error due to 'memcmp' HOT 4
- Document leaks memory when stored as Value. HOT 4
- gcc-4.9.0 compile warnings HOT 1
- 'Convert JSON document to string' PROBLEM solved... HOT 1
- Error compiling on OS X 10.6 HOT 4
- Compilation error on gcc 3.4.6 HOT 1
- [address alignment issue]tutorial.cpp isn't working on HP-UX 11.23 ia64 HOT 5
- Blaireaux HOT 1
- Cannot parse min normal positive double
- reader.h compiler errors clang (use 'template' keyword to treat 'Stack' as a dependent template name) HOT 2
- Failed to parse nested json buffer HOT 1
- lacks ending quotation before the end of string HOT 1
- Problem with FindMeber HOT 2
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 rapidjson.