]> git.ipfire.org Git - thirdparty/systemd.git/commit
Always use unicode ellipsis when ellipsizing
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 12 Sep 2016 19:09:36 +0000 (20:09 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Sep 2016 00:10:57 +0000 (20:10 -0400)
commit481a2b02a3e7881b0c62ff6bca9f17d2d6fabc9f
treeb6b2254ffcaac84f8b05ad7c2318c70db76a500a
parent432b5c8a4df006d29531f73b2d980d5908f4e0c5
Always use unicode ellipsis when ellipsizing

We were already unconditionally using the unicode character when the
input string was not pure ASCII, leading to different behaviour in
depending on the input string.

systemd[1]: Starting printit.service.
python3[19962]: foooooooooooooooooooooooooooooooooooo…oooo
python3[19964]: fooąęoooooooooooooooooooooooooooooooo…oooo
python3[19966]: fooąęoooooooooooooooooooooooooooooooo…ąęąę
python3[19968]: fooąęoooooooooooooooooąęąęąęąęąęąęąęą…ąęąę
systemd[1]: Started printit.service.
TODO
src/basic/string-util.c