Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Byobu with Screen backend. I have a custom status script that wget's an RSS feed and shows the latest headline in it. If there are non-ASCII characters, they are not printed correctly. I've tried everything I could find Googling for properly enabling UTF-8 in Screen - all to no avail. I put together the sample script below that will demonstrate the problem. Does anyone know what I need to do to get Byobu/Screen displaying this correctly in the status line?

SAMPLE=$(wget -q -O- "http://cnnespanol.cnn.com" | grep '<title>' | sed 's|.*<title>\(.*\)</title>|\1|' | head -n 1)
COLOR="= kr"
printf "\005{-}\005{$COLOR}$SAMPLE\005{-}\005{bw}"

That script displays this text:

CNN en Español: Ultimas Noticias de Estados Unidos, Latinoamérica y el Mundo, Opinión y

Versions I am running:

  • Linux: Mint 14.1 w/ Cinnamon
  • byobu version 5.21
  • Screen version 4.00.03jw4 (FAU) 2-May-06
share|improve this question

Unfortunately, GNU Screen is unable to cleanly support UTF8 in the status bar. This was one of several reasons why I added the Tmux backend support to Byobu.

Full disclosure: I'm the author and maintainer of Byobu.

share|improve this answer
Thank you very much for your help! – Jeremy Thomerson May 27 '13 at 21:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.