diff options
author | Heinrich Schuchardt | 2018-08-31 21:31:27 +0200 |
---|---|---|
committer | Alexander Graf | 2018-09-23 21:55:29 +0200 |
commit | d8c28232c34d4be9984eda52d69d0920678d937d (patch) | |
tree | da6d8305f94829b36f163c331eb5e1bf8abc3280 /include/power | |
parent | 1dde0d57a5d1281aaa949e9bf7b5c476345a56ee (diff) |
lib: charset: utility functions for Unicode
utf8_get() - get next UTF-8 code point from buffer
utf8_put() - write UTF-8 code point to buffer
utf8_utf16_strnlen() - length of a utf-8 string after conversion to utf-16
utf8_utf16_strncpy() - copy a utf-8 string to utf-16
utf16_get() - get next UTF-16 code point from buffer
utf16_put() - write UTF-16 code point to buffer
utf16_strnlen() - number of codes points in a utf-16 string
utf16_utf8_strnlen() - length of a utf-16 string after conversion to utf-8
utf16_utf8_strncpy() - copy a utf-16 string to utf-8
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/power')
0 files changed, 0 insertions, 0 deletions