[systemd-bugs] [Bug 89392] New: journalctl unicode message split/ellipsis cuts part of utf8 symbol

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 2 07:32:49 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89392

            Bug ID: 89392
           Summary: journalctl unicode message split/ellipsis cuts part of
                    utf8 symbol
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: grossws at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

journalctl splits long messages (in utf8) without knowledge of utf8-encoded
codepoints boundary, so some messages are shown as `[2.0K blob data]` because
it starts with non-utf8 bytes.

Also journalctl ellipsis can cut line in the middle of utf8-encoded codepoint.

Env: CentOS 7.0, systemd 208, en_US.UTF-8 locale.

Sample from `journalctl -f -u ...` (contains both issues):
> Mar 02 18:32:01 localhost systemd-docker[19345]: 509146375 [http-nio-8983-exec-98] INFO  org.apache.solr.core.SolrCore  – [core0] webapp=/solr path=/select params={facet=true&sort=pubdate+desc&fl=&facet.query=((...�о+продук
> Mar 02 18:32:01 localhost systemd-docker[19345]: [293B blob data]
> Mar 02 18:32:01 localhost systemd-docker[19345]: [293B blob data]

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150302/03aa729e/attachment.html>


More information about the systemd-bugs mailing list