Re: How to get tin pager to display 'extended' characters

[email protected] Wed, 29 Nov 2006 12:50:13 +0000
Newsgroups gmane.network.tin.user
Message-ID <[email protected]>
On Wed, Nov 29, 2006 at 01:34:29PM +0100, Urs Janßen wrote:
> On Wed, Nov 29, 2006 at 12:22:44PM +0000, [email protected] wrote:
> > I have mm_charset in my tinrc set to ISO-8859-1 and it allows me to
> > post £ signs and such OK.  If I save an article I have posted with
> > such characters in it and then view it ('cat' to screen or editor)
> > then the characters have been posted correctly.
> > 
> > However if I view the article in tin the extended characters are
> > displayed as question marks.  How do I get tin to *display* these
> > characters?
> 
> also have to configure your locales accordingly (detailed info is
> available in doc/umlauts and/or <http://www.tin.org/umlauts.html> and the
> related man-pages, e.g. locale(5), environ(5); a short description of the
> related env-vars is given in the tin(1) manual-page).
> 
> if the desired locales are installed on your system (for debian this can be
> done via: "apt-get update ; apt-get install locales ; dpkg-reconfigure
> locales") this can be done via:
> 
> (sh-style)
> 	export LC_CTYPE=en_US
> 
> (csh-style)
> 	setenv LC_CTYPE en_US
> 
> in your profile/shell-rc/...
> 
Ah, of course, yes, I'd forgotten that side of it.  However it's not
quite so simple because it's on a BSD system and it doesn't have (for
example) the locale command to find what locales are valid.

Setting LC_CTYPE to en_UK doesn't work for a start, it just complains
about an invalid locale.

I will have to dig around I suspect (this isn't my system so I can't
install stuff, it's a shell login on www.gradwell.net).

-- 
Chris Green ([email protected])