Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

servo/futf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

futf

DEPRECATED: This repository has been merged into https://github.com/servo/tendril

futf is a library for flexible UTF-8, or UTF-8 fragments. I don't know. Check out the API documentation.

Anyway, it takes an index into a byte buffer and tells you things about the UTF-8 codepoint containing that byte. It can deal with incomplete codepoint prefixes / suffixes at the ends of a buffer, which is useful for incremental I/O. It can also handle UTF-16 surrogate code units encoded in the manner of CESU-8 or WTF-8.

This is a low-level helper for tendril that might be useful more generally.

About

Handling fragments of UTF-8 in Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages