UniRecover: A Library for Replacing Invalid UTF-8 Bytes
The article discusses UniRecover, a library that provides a function for replacing invalid UTF-8 bytes in Unicode encoded data. The library follows the W3C specification as suggested by the Unicode Standard. It leverages Erlang Sub Binaries to handle large amounts of data efficiently. The author mentions that UniRecover is suitable for most use-cases, except for those that require NIF-based solutions. The article also provides instructions on how to install UniRecover as a dependency in a Mix project. Developers can find the library's documentation on HexDocs or generate it with ExDoc. UniRecover has gained popularity with a number of stars, watchers, and forks on GitHub. Overall, the library is a valuable tool for developers working with Unicode encoded data who need to handle and replace invalid UTF-8 bytes.