Skip to content

adam-stanek/lua_icu_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icu_utils

Library providing interface to selected utilities from ICU project.

Check the specs for examples

Functions

-- normalizes UTF-8 string from NKD to NFC
icu_utils.normalize(str)

-- converts string to lower case
icu_utils.lower(str)

-- converts string to upper case
icu_utils.upper(str)

-- converts string to title case
icu_utils.capitalize(str)

-- performs transliteration of a string into latin
-- replaces any accented characters with their unaccented equivalent
icu_utils.latinize(str)

Build

Linux

Debian/Ubuntu

sudo apt-get install luarocks libicu-dev
luarocks make

Fedora/CentOS/RHEL

  • on CentOS/RHEL luarocks requires EPEL
  • on older distributions use "yum" instead of dnf
dnf install luarocks libicu-devel
luarocks make

License

MIT License

About

LUA C Binding for selected utilities from ICU project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published