newsGNU libunistring - News: GNU libunistring-1.0 released

 
 
Latest News
GNU libunistring-1.2 released posted by haible, Sat 24 Feb 2024 04:38:25 PM UTC
GNU libunistring-1.0 released posted by haible, Tue 04 Jan 2022 10:48:04 PM UTC

GNU libunistring-1.0 released

Item posted by Bruno Haible <haible> on Tue 04 Jan 2022 10:48:04 PM UTC.

Download from https://ftp.gnu.org/gnu/libunistring/libunistring-1.0.tar.gz

This is a stable release.

New in this release:

  • The license has changed from "LGPLv3+ or GPLv2" to "LGPLv3+ or GPLv2+".


  • The data tables and algorithms have been updated to Unicode version 14.0.0.


  • The functions u8_uctomb, u16_uctomb, u32_uctomb now support strings larger than 2 GiB by taking an 'n' argument of type ptrdiff_t (instead of int).


  • The functions u*_possible_linebreaks and u*_width_linebreaks now make it easier to work with strings that contain CR-LF sequences: In this case, in the returned array, it will return UC_BREAK_CR_BEFORE_LF followed by UC_BREAK_MANDATORY (instead of twice UC_BREAK_MANDATORY).


  • There are new properties for recognizing pictographic symbols and regional indicators:

    - UC_PROPERTY_EMOJI                  uc_is_property_emoji
    - UC_PROPERTY_EMOJI_PRESENTATION     uc_is_property_emoji_presentation
    - UC_PROPERTY_EMOJI_MODIFIER         uc_is_property_emoji_modifier
    - UC_PROPERTY_EMOJI_MODIFIER_BASE    uc_is_property_emoji_modifier_base
    - UC_PROPERTY_EMOJI_COMPONENT        uc_is_property_emoji_component
    - UC_PROPERTY_EXTENDED_PICTOGRAPHIC  uc_is_property_extended_pictographic
    - UC_PROPERTY_REGIONAL_INDICATOR     uc_is_property_regional_indicator

  • Fixed multithread-safety bugs on Cygwin, native Windows, and Haiku.


 

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code