Skip to content

Releases: penguin-teal/utf8encoder

utf8encoder v1.1.2

29 Dec 05:39
Compare
Choose a tag to compare

v1.1.2 Changelog:

  • Fix shared object not compiling with position independent code (missing -fPIC)

utf8encoder v1.1.1

21 Dec 02:40
Compare
Choose a tag to compare

v1.1.1 Changelog:

  • Document in header file what happens if given an invalid argument
  • Fix four specific bytes (U+007F, U+07FF, U+FFFF, and U+10FFFF) encoding incorrectly (previously incorrectly added an extra byte of width)

utf8encoder v1.1.0

18 Dec 04:05
Compare
Choose a tag to compare

v1.1.0 Changelog:

  • Add function to determine size of character based on its first byte
  • Fix release builds compiling with debug symbols and no optimization
size_t utf8Size(uint8_t binary);

uint32_t utf8Encode(uint64_t codePoint, size_t *size);

uint64_t utf8Decode(uint32_t binary);

utf8encoder v1.0.0

17 Dec 20:50
Compare
Choose a tag to compare

Static or shared libraries that provide the two functions to encode a code point into UTF-8 and decode UTF-8 into a code point.

uint32_t utf8Encode(uint64_t codePoint, size_t *size);

uint64_t utf8Decode(uint32_t binary);