This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: man pages showing special characters
> Durwin De La Rue:
> > I have searched the archive on this with complicated results.
> >
> > First, I am using latest version of cygwin. Â?I normally use rxvt. Â?But after
> > having this issue with it, and finding information that mintty does not have
> > the issue, I started using mintty. Â?My first attempt to fix the issue in
> > rxvt was successful (export LANG=C). Â?However, at some point it failed.
> > Â?LANG is the same, but I again was getting special characters where a hyphen
> > (and quotes and other punctuation) Â?is suppose to be. Â?That is when I
> > started using mintty. Â?It worked right off no problems. Â?However *now* it is
> > doing the same. Â?I have tried setting LANG and LC_ALL to en_US.utf8 but
> > nothing is helping.
>
> What character set is selected on the Text page of mintty's options?
> Where are you setting LANG and LC_ALL?
mintty is set to en_US.UTF-8
I only exported LANG=c in .bash_profile. All my other tests were on
commandline.
>
> I'd recommend setting the locale and character set in the mintty
> options only, which automatically sets LANG accordingly. If you set
> LC_ALL or LANG to something else in your shell startup files, then
> mintty won't get to know about it, and you end up with a charset
> mismatch between mintty and applications running in it.
>
I removed the export from .bash_profile and re-logged in and still
recieve same scrambled characters.
Durwin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple