Skip to content
 
 

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fix Unicode encoding errors

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages