]> git.ipfire.org Git - thirdparty/plymouth.git/commit
label-freetype: Handle utf-8 characters better
authorRay Strode <rstrode@redhat.com>
Sat, 2 Dec 2023 18:11:37 +0000 (13:11 -0500)
committerRay Strode <rstrode@redhat.com>
Sat, 2 Dec 2023 23:15:38 +0000 (18:15 -0500)
commite190f3b9527f247f716ff367f8813f5e2eb11f7c
tree061c84381b4e63df84433598b5a1004ca7420175
parentcc5e07c6d0278c14fff2fde5b9cc63913419810e
label-freetype: Handle utf-8 characters better

The plugin currently assumes all characters are 7 byte ascii.

This commit just adds a mbrtowc call around the text to
handle UTF-8 text somewhat better.
src/plugins/controls/label-freetype/plugin.c