From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 07:55:51 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B0BABB1 for ; Fri, 28 Feb 2014 07:55:51 +0000 (UTC) Received: from smtp21.services.sfr.fr (smtp21.services.sfr.fr [93.17.128.1]) by mx1.freebsd.org (Postfix) with ESMTP id E23CC1BE7 for ; Fri, 28 Feb 2014 07:55:50 +0000 (UTC) Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2106.sfr.fr (SMTP Server) with ESMTP id 1032070001B7 for ; Fri, 28 Feb 2014 08:55:43 +0100 (CET) Received: from dmarec.local (199.114.14.109.rev.sfr.net [109.14.114.199]) by msfrf2106.sfr.fr (SMTP Server) with ESMTP id C0C3A70001B6 for ; Fri, 28 Feb 2014 08:55:42 +0100 (CET) X-SFR-UUID: 20140228075542789.C0C3A70001B6@msfrf2106.sfr.fr Message-ID: <531032EF.3020703@davenulle.org> Date: Fri, 28 Feb 2014 07:55:43 +0100 From: David Marec User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: [FreeBSD-10] slrn doesn't choose the right charset since the upgrade. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 07:55:51 -0000 Hello, I am using slrn and vim to post messages on Usenet. Vim is running with the UTF-8 encoding set. To avoid posting messages in UTF-8 when it is not needed, the following rules 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'. But, since I upgraded my desktop to FreeBSD-10, slnr was installed from the Freebsd pkg repository, the first setting is always choosen and the message is released with lots of "?" in place of any UTF-8/Latin1 characters. A clue: I know that slrn calls 'iconv' for encoding and that iconv has been moved into the base system. Is this an iconv-from-the-base issue ? -- david Marec