shared: utf8 - support ucs4 -> utf8
authorTom Gundersen <teg@jklm.no>
Sun, 21 Dec 2014 23:58:26 +0000 (00:58 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 22 Dec 2014 19:26:53 +0000 (20:26 +0100)
commit2bb4c7e384c31de4727f1330da3f4de2f0bb7784
treee6ca2bf55af1be1c20066533ef38f686fc40fc57
parent856d6e09887730f115e43faf9577b479f2beb3c4
shared: utf8 - support ucs4 -> utf8

Originally we only supported ucs2, so move the ucs4 version from libsystemd-terminal to shared
and use that everywhere.
src/libsystemd-terminal/subterm.c
src/libsystemd-terminal/term-parser.c
src/libsystemd-terminal/term-screen.c
src/libsystemd-terminal/term.h
src/libsystemd-terminal/test-term-parser.c
src/shared/json.c
src/shared/utf8.c
src/shared/utf8.h
src/test/test-json.c