hoehrmann / utf-8-misc Goto Github PK
View Code? Open in Web Editor NEWCollection of things related to UTF-8 and http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
Collection of things related to UTF-8 and http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
The utf8_decode_step
in utf8_arith.h
doesn't work for various valid sequences, e.g. "\xED\x81\x80"
should be correctly decoded to codepoint U+D040
, but the function decodes it wrongly to U+D000
(tested on macOS with clang from XCode 9.2 with unoptimized debug code).
Failing UTF-8 sequences start with 0xE0
, 0xED
, 0xF1
, 0xF2
and 0xF3
.
I couldn't easily find the reason, but it shouldn't be used (or with care) as it is now.
The utf8_branch.h
version, while using the same tables, works flawless in my tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.