Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 08:50:00 GMT
From:      David Marec <david.marec@davenulle.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187847: slrn self encoding tool does not match the right charset.
Message-ID:  <201403230850.s2N8o08L039576@cgiserv.freebsd.org>
Resent-Message-ID: <201403230900.s2N901a6094766@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187847
>Category:       ports
>Synopsis:       slrn self encoding tool  does not match the right charset.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 23 09:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     David Marec
>Release:        10.0-RELEASE
>Organization:
privat
>Environment:
FreeBSD dmarec.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:

To avoid posting messages in UTF-8 when it is not needed, the following rule
is defined in the slrn resource file:

-- 
charset outgoing "us-ascii,iso-8859-1,iso-8859-15,utf-8"
--

This means that slrn  will 'try the settings from left to right and use the
first for which encoding succeeds'.

Since iconv was moved to the base system, this self-encoding-selector does not work anymore.


>How-To-Repeat:
Use the following charset selection rule in your "slrnrc" file:

  charset outgoing "us-ascii,iso-8859-1,iso-8859-15,utf-8"

and try to post messages filled with non-ascii characters.
>Fix:
Adds the "--with-non-gnu-iconv" magic flag to tell to slrn that it deals not with the gnu iconv, to the make file:


CONFIGURE_ARGS+=--enable-ipv6 --disable-inews --with-slrnpull \
	--with-non-gnu-iconv ${ICONV_CONFIGURE_ARG}

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403230850.s2N8o08L039576>