summaryrefslogtreecommitdiff
path: root/src/test/test-utf8.c
AgeCommit message (Collapse)Author
2014-02-08core: do not print invalid utf-8 in error messagesZbigniew Jędrzejewski-Szmek
2013-11-07utf8: ascii_filter() is unused, let's remove itLennart Poettering
2013-10-05utf8: fix utf8_is_printableZbigniew Jędrzejewski-Szmek
2013-09-19test-utf8: add more tests for public functionsDave Reisner
2013-09-19device-nodes: move device node specific code to own fileDave Reisner
In the process, rename udev_encode_string which is poorly named for what it does. It deals specifically with encoding names that udev creates and has its own rules: utf8 is valid but some ascii is not (e.g. path separators), and everything else is simply escaped. Rename it to encode_devnode_name.
2013-09-19shared/utf8: merge implementations, remove cruftDave Reisner
This unifies the utf8 handling code which was previously duplicated in udev and systemd.
2013-09-17move utf8 functions from libudev-private.h to utf8.hDave Reisner
There's now some more obvious overlap amongst the two utf8 validation functions, but no more than there already was previously. This also adds some menial tests for anyone who wants to do more merging of these two in the future.