- Handle cmdliner 1.1.0 deprecations.
- Support for OCaml 5.00, thanks to Kate (@kit-ty-kate) for the patch.
- Fix the substring folding functionality introduced in v1.0.0. It never worked correctly.
- OCaml 4.05.0 compatibility (removal of
Uchar.dump
).
Uutf.String.fold_utf_{8,16be,16le}
, allow substring folding via optional arguments. Thanks to Raphaël Proust for the idea and the patch.- OCaml standard library
Uchar.t
support.- Removes and substitutes
type Uutf.uchar = int
by the (abstract)Uchar.t
type.Uchar.{of,to}_int
allows to recover the previous representation. - Removes
Uutf.{is_uchar,cp_to_string,pp_cp}
.Uchar.{is_valid,dump}
can be used instead.
- Removes and substitutes
- Safe string support. Manual sources and destinations now work on bytes rather than strings.
- Build depend on topkg.
- Relicense from BSD3 to ISC.
- Add
Uutf.decoder_byte_count
returning the bytes decoded so far. - The
utftrip
cli utility now usesCmdliner
which becomes an optional dependency of the package. The cli interface is not compatible with previous versions.
- Fix wrong decoding sequence when an UTF-8 encoding guess is based on a two byte UTF-8 sequence. Thanks to Edwin Török for the report.
- OPAM friendly workflow and drop OASIS support.
- utftrip, better tool help.
- Fix
Uutf.is_uchar
always returning false. Thanks to Edwin Török for reporting and providing the fix and test.
- OASIS 0.3.0 support.
First release.