Skip to content

Special characters (umlauts) are sometimes not displayed correctly in the window title #482

Closed
@mrtycho

Description

@mrtycho
  • Fvwm3 version (run: fvwm3 --version)
    fvwm3 1.0.3 (1.0.2-103-g8f3692fc)
    with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS

  • Linux distribution or BSD name/version
    Linux nuc 5.10.32-1-MANJARO Create fvwm.da.po #1 SMP Wed Apr 21 14:54:10 UTC 2021 x86_64 GNU/Linux

  • Platform (run: uname -sp)
    Linux unknown

Expected Behaviour

Launch a program that has an umlaut in its name, e.g. pavucontrol = Lautstärkeregler (German)
"Lautstärkeregler" is shown in the title of the new window.

Actual Behaviour

Instead of the umlaut "ä" there is a different character shown:
shot1

Name and Icon Name are using a wrong character.

Steps to Reproduce

For this bug report I used the default configuration of fvwm3 and I'm using LANG=de_DE.UTF-8

  • Does the problem also happen with Fvwm2? No, I didn't notice this problem with older versions.

Include your configuration with this issue.
=default configuration of fvwm3

Does Fvwm3 crash?

No

Extra Information

  • Anything else we should know?
    I found a kind of a workaround: I did the following changes to the config

Style * Font "xft:Sans:size=8:antialias=True"
Style * IconFont "xft:Sans:Bold:size=8:antialias=True"
Style * TitleFormat %i\n
# Style * !Icon

This results in the following
shot2

After this the icon name now looks as expected and so I can use %i as TitleFormat.

  • In a web browser or file manager that shows a path with umlauts in the title bar, the problem does not initially occur. But after a fvwm restart, the title is also displayed incorrectly. Maybe only the initial window title is affected.

  • I don't know if this problem also occurs with other special characters and other languages, using ä,ö,ü,ß I run into this problem.

Metadata

Metadata

Assignees

Labels

type:bugSomething's broken!

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions