Summary: | systemctl: unaligned display in UTF-8 locales | ||
---|---|---|---|
Product: | systemd | Reporter: | Tomasz Torcz <zdzichu> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | piotrdrag |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Tomasz Torcz
2015-04-14 06:44:27 UTC
Yes, we generally use strlen(), and any multi-byte unicode character is going to mess this up. We *could* count unicode units without too much trouble, but to really support this, we might have to understand combining characters. ...though just counting code points is easy and would give us reasonable support for some languages (those which don't use separate combining characters by default, e.g. Polish). So I think we should do that for now. Current versions of systemd have the necessary bits in place to count wide unicode characters correctly. Closing. (Should I be mistaken and this is still an issue, please file a bug on the github issue tracker instead) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.