All Projects → maxlath → fix-utf8

maxlath / fix-utf8

Licence: MIT license
Fix Unicode encoding errors

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to fix-utf8

mysqlutf8
默认支持utf8编码的MySQL镜像
Stars: ✭ 28 (+27.27%)
Mutual labels:  utf8
libutf8
A whatwg compliant UTF8 encoding and decoding library
Stars: ✭ 32 (+45.45%)
Mutual labels:  utf8
vastringify
Type-safe Printf in C
Stars: ✭ 60 (+172.73%)
Mutual labels:  utf8
unicode-programming
Unicode programming examples
Stars: ✭ 33 (+50%)
Mutual labels:  utf8
homoglyphs
Homoglyphs: get similar letters, convert to ASCII, detect possible languages and UTF-8 group.
Stars: ✭ 70 (+218.18%)
Mutual labels:  utf8
unicode display width
Displayed width of UTF-8 strings in Modern C++
Stars: ✭ 30 (+36.36%)
Mutual labels:  utf8
FSlmx
FreeSWITCH GUI 简体中文GUI for PHP (UTF8)
Stars: ✭ 43 (+95.45%)
Mutual labels:  utf8
simdutf
Unicode routines (UTF8, UTF16): billions of characters per second.
Stars: ✭ 108 (+390.91%)
Mutual labels:  utf8
subst
Search and des... argh... replace in many files at once. Use regexp and power of Python to replace what you want.
Stars: ✭ 20 (-9.09%)
Mutual labels:  utf8
trans
National characters transcription module.
Stars: ✭ 22 (+0%)
Mutual labels:  utf8
sbbs
Mirror of gitlab.synchro.net/sbbs (don't submit pull requests here)
Stars: ✭ 25 (+13.64%)
Mutual labels:  utf8

fix-utf8

A function that tries its best to recover lost Latin Unicode characters, based on the UTF-8 Encoding Debugging Chart

Also takes the opportunity to normalize the passed string, replacing any combined group of characters by their corresponding glyph.

Install

$ npm install fix-utf8

How-To

const fixUtf8 = require('fix-utf8')
fixUtf8("L'avenir des idées")
// => "L'avenir des idées"

See Also

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].