Comment 3 for bug 530303

Revision history for this message
Daniel Hahler (blueyed) wrote : Encoding problem with caption string (assumes latin1)

Binary package hint: screen

When using %M in the caption, this should be "Mär" currently in Germany, but it does not get displayed properly (shows up as "Mär").

Also when using "Mär" directly as string in the caption setup, and the .screenrc file is encoded as utf8, it will get displayed wrong.
To work around this second issue, you have to encode the config file in latin1/iso-8859-1.

The first problem (wrong display of %M) remains still, despite of the config file encoding.

It seems that screen itself gets confused between the resolving of %M and the display itself.

REPRODUCE:
1. Add the following to ~/.screenrc:
  caption always "%M Mär"
2. Start screen
3. Verify caption line

ProblemType: Bug
Architecture: i386
Date: Mon Mar 1 21:35:09 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: nvidia
Package: screen 4.0.3-14ubuntu1
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: screen
Uname: Linux 2.6.32-14-generic i686