Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Non-blocking streaming Unicode codec for OCaml

License

NotificationsYou must be signed in to change notification settings

dbuenzli/uutf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning. You are encouraged not to use this library.

  • As of OCaml 4.14, both UTF encoding and decoding are availablein the standard library, see theString andBuffer modules.
  • If you are looking for a stream abstraction compatible witheffect based concurrency look intobytesrw package.

Uutf is a non-blocking streaming codec to decode and encode the UTF-8,UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficientlywork character by character without blocking on IO. Decoders performcharacter position tracking and support newline normalization.

Functions are also provided to fold over the characters of UTF encodedOCaml string values and to directly encode characters in OCamlBuffer.t values.

Uutf has no dependency and is distributed under the ISC license.

Home page:http://erratique.ch/software/uutf

Installation

Uutf can be installed withopam:

opam install uutf

If you don't useopam consult theopam file for buildinstructions.

Documentation

The documentation can be consultedonline or viaodig doc uutf.

Questions are welcome but better asked on theOCaml forum than on theissue tracker.

About

Non-blocking streaming Unicode codec for OCaml

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp