Thread View: news.software.readers
3 messages
3 total messages
Started by Lars Jorgensen
Wed, 15 Sep 2004 18:00
8-bit display in tin
Author: Lars Jorgensen
Date: Wed, 15 Sep 2004 18:00
Date: Wed, 15 Sep 2004 18:00
32 lines
2124 bytes
2124 bytes
Hi.
I may be asking the most stupid question here, but I have forgotten
how to compile tin to display Danish characters in the articles.
Here's tin -V:
Version: tin 1.7.6 release 20040906 ("Baleshare") Sep 15 2004 19:40:59
Platform:
OS-Name = "linux-gnu"
Compiler:
CC = "cc"
CFLAGS = ""
CPP = "cc -E"
CPPFLAGS = "-D_GNU_SOURCE"
Linker and Libraries:
LD = "cc"
LDFLAGS = ""
LIBS = "-lcurses -L/lib"
Characteristics:
+NNTP_ONLY -NO_POSTING -BROKEN_LISTGROUP +XHDR_XREF
-HAVE_FASCIST_NEWSADMIN -ENABLE_IPV6 +HAVE_COREFILE
-NO_SHELL_ESCAPE -DISABLE_PRINTING -DONT_HAVE_PIPING
-NO_ETIQUETTE
+HAVE_LONG_FILE_NAMES +APPEND_PID -HAVE_MH_MAIL_HANDLING
-HAVE_ISPELL +HAVE_METAMAIL +HAVE_SUM
+HAVE_COLOR -HAVE_PGP -HAVE_PGPK +HAVE_GPG
-MIME_BREAK_LONG_LINES -MIME_STRICT_CHARSET
+CHARSET_CONVERSION
+MULTIBYTE_ABLE +NO_LOCALE
-USE_CANLOCK -EVIL_INSIDE -FORGERY -TINC_DNS -ENFORCE_RFC1034
-REQUIRE_BRACKETS_IN_DOMAIN_LITERAL -FOLLOW_USEFOR_DRAFT
Re: 8-bit display in tin
Author: Urs Janßen
Date: Wed, 15 Sep 2004 19:46
Date: Wed, 15 Sep 2004 19:46
38 lines
2337 bytes
2337 bytes
In <53f9a8a5.0409151000.11b6fef4@posting.google.com>, Lars Jorgensen wrote: > I may be asking the most stupid question here, but I have forgotten > how to compile tin to display Danish characters in the articles. it should work out of the box if you set your locales right (e.g. LC_CTYPE=da_DK.ISO-8859-1) and the used charset if propper declared. > Characteristics: > +CHARSET_CONVERSION > +MULTIBYTE_ABLE +NO_LOCALE ok, you told tin _not_ to use locales at all (via --disable-locale). usualy a bad idea, but the internal fallback is ISO-8859-1 which inclues danish chars, so it should work for you. but if the articles fails to declare the used charset in the mime-headers us-ascci is assumed and the 8bit chars are replaced by ?. you can tell tin to assume a diffrent charset (e.g ISO-8869-1) via the undeclared_charset option in attributes, e.g.: scope=fr.*,no.*,se.*,dk.* undeclared_charset=ISO-8859-1 scope=pl.*,cz.*,hin.*,sk.*,hr.* undeclared_charset=ISO-8859-2 scope=fj.*,japan.* undeclared_charset=ISO-2022-JP-2 scope=han.* undeclared_charset=EUC-KR # ... see tin(5) and doc/umlauts.txt for details about locales and the attributes file. HTH, urs
Re: 8-bit display in tin
Author: Lars Jorgensen
Date: Fri, 17 Sep 2004 19:11
Date: Fri, 17 Sep 2004 19:11
10 lines
1301 bytes
1301 bytes
Urs Janßen <urs@buil.tin.org> wrote: > it should work out of the box if you set your locales right (e.g. > LC_CTYPE=da_DK.ISO-8859-1) and the used charset if propper declared. Thank you so much! Your solution worked a charm and solved a problem that has been bugging me for months. -- Lars
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads