Encoding issue with GNU Screen
OS Version: FreeBSD 7-Stable
Screen Version: Screen version 4.00.03 (FAU) 23-Oct-06
Top level Terms: rxvt-unicode v9.05, xterm v237
PAGER: less -FiJqX
Terry@dixie$ locale 5:02 LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_ALL=en_US.UTF-8 Terry@dixie$ 5:02
I first noticed the problem when I had to bring out an old friend in my toolbox (perl), when using perldoc I would get strange accented a or A like characters in place of certain characters in the output, so I just did a ssh to my server and read the perldocs there (it's an OpenBSD box with no LC_* or LANG settings in use) and things worked perfect. When I finished my scripts, I noticed the plain old documentation output to my term was just as wacky. As another test, I opened (in vim) some old files with German umlauts, which were also displayed crazy -> as they would be under the wrong locale.
If I open urxvt or xterm and then run perldoc (or check my files) in that without screen, everything works correctly. I've tried screens -U, -a, -O, and -T options but no dice.
Has anyone else experienced this issue with screen, or perhaps know of a work around?
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|Thread||Thread Starter||Forum||Replies||Last Post|
|HOWTO: Encoding // Pure Terminal // Virtual Terminal||vermaden||Guides||1||25th June 2010 08:02 AM|
|Screen + utf8 not working||Zmyrgel||OpenBSD General||1||10th March 2009 02:12 PM|
|screen casting via v4l||ddekok||Other BSD and UNIX/UNIX-like||2||17th July 2008 03:27 PM|
|Changing encoding of text in MySQL database||stukov||Programming||5||15th July 2008 09:48 PM|
|How to take a screen in xfce?||aleunix||OpenBSD Packages and Ports||23||4th June 2008 02:54 PM|