On Thu, 2018-08-23 at 15:19 +0200, Michal Privoznik wrote: > NB, do we need to re-encode the string? All that we care about is its > width, isn't it? Yes. Many nonprintable or control characters such as tabulator, vertical tabulator, backspace... would be problematic, especially when calculating width. So its better to just replace them with their hexadecimal value. Simon Kobyda -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list