Skip to content

IceWM text is messed up when using single-byte codepage locale. #836

@iiv3

Description

@iiv3

It's most visible with Window Titles. The messed up text looks like double utf8 over utf8 conversion (aka existing utf8 text is considered to be single byte encoding and each byte is converted to utf8, again).

I do suspect that the issue is related to use of "_XA_UTF8_STRING" property. Instructing the X11 server/programs to send UTF8 encoded strings.

These seems to have been introduced by commit bc1a2a7 .

I was able to "workaround" most of the problems by modifying the src/ylocale.cc::YLocale::unicodeString() to first try the string as UTF8 and only if it fails to convert it using iconv().

I'm not sure what the proper solution is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions