Skip to content

Releases

utf8encoder v1.1.2

Choose a tag to compare

@penguin-teal penguin-teal released this 29 Dec 05:39

v1.1.2 Changelog:

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

utf8encoder v1.1.1

Choose a tag to compare

@penguin-teal penguin-teal released this 21 Dec 02:40

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

Choose a tag to compare

@penguin-teal penguin-teal released this 18 Dec 04:05

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

Choose a tag to compare

@penguin-teal penguin-teal released this 17 Dec 20:50

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);