Features

Chore

  • Replace [v]sprintf() with [v]snprintf() (#67).

  • Add direct include for snprintf() (@MichaelChirico, #43).

  • Add ellipsis before optional args (#74).

Documentation

  • Show NEWS on CRAN page (#42, #71).

  • Add pkgdown reference index.

  • Use roxygen2 (#68, #69) with Markdown.

Performance

  • Check interrupt every 1024 calls, avoids a division in tight loops.
  • Fix compatibility with macOS 14 (#39).

Features

  • Support Unicode 14.

Chore

  • Update maintainer e-mail address.

  • Fix compiler warnings (@Antonov548, #37).

  • Reenable all tests.
  • utf8_width() now reports correct widths for narrow emojis (#9).
  • Use Unicode and Emoji standards version 13.0 via upgrade to latest utf8lite.
  • Silence test on macOS.

BUG FIXES

  • Fix build on Solaris (#7, reported by @krlmlr).

  • Fix rendering of emoji ZWJ sequences like "\U1F469\U200D\U2764\UFE0F\U200D\U1F48B\U200D\U1F469".

MINOR IMPROVEMENTS

  • Make output_utf8() always return TRUE on Windows, so that characters in the user’s native locale don’t get escaped by utf8_encode(). The downside of this change is that on Windows, utf8_width() reports the wrong values for characters outside the user’s locale when stdout() is redirected by knitr or another process.

  • When truncating long strings strings via utf8_format(), use an ellipsis that is printable in the user’s native locale ("\u2026" or“…”`).

BUG FIXES

BUG FIXES

NEW FEATURES

MINOR IMPROVEMENTS

BUG FIXES

  • Fix bug in utf8_width() determining width of non-ASCII strings when LC_CTYPE=C.

DEPRECATED AND DEFUNCT

  • No longer export the C version of as_utf8() (the R version is still present).

NEW FEATURES