If section title contains multibyte chars, the fold shortening function often fails, because it works with text as array of bytes, not characters (see strlen() doc for example). This commit fixes this issue.
If section title contains multibyte chars, the fold shortening function often fails, because it works with text as array of bytes, not characters (see strlen() doc for example). This commit fixes this issue.