From owner-freebsd-ports@FreeBSD.ORG Wed Jan 18 18:43:46 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0192A1065672 for ; Wed, 18 Jan 2012 18:43:46 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 833B68FC08 for ; Wed, 18 Jan 2012 18:43:45 +0000 (UTC) Received: by lahe6 with SMTP id e6so1493728lah.13 for ; Wed, 18 Jan 2012 10:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=IDATQL6UAeXPFa+aDjwcEn/Oxsz58Ggcp2YFNkyhPVY=; b=vykhUeivXItbZy803oAnmjRhmKiYllp6YTmlISClUiEo9DU6/jinlVAPYFHzyiJlKN BMltRKkGCwLtEpsz1rO3XFzXUQb8GSV+Btl/qdSZrUAIywztl3vSpytqJPvugLXvf9Qw 7iOE3ahy5Bgi4rBp6pWMgcVMRjYeMv4uUHZ74= MIME-Version: 1.0 Received: by 10.152.145.165 with SMTP id sv5mr10923315lab.29.1326910567871; Wed, 18 Jan 2012 10:16:07 -0800 (PST) Received: by 10.152.5.69 with HTTP; Wed, 18 Jan 2012 10:16:07 -0800 (PST) Date: Wed, 18 Jan 2012 19:16:07 +0100 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Encoding question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 18:43:46 -0000 Hi, I'm trying to compile a C++ software on FreeBSD. While compiling, this error shows up: error: stray '\357' in program error: stray '\273' in program error: stray '\277' in program This file is reported (by file[1]) to be "UTF-8 Unicode (with BOM) C program text, with CRLF line terminators" while the rest of the files in the package are "ASCII C program text, with CRLF line terminators". While I can convert the file with iconv -c -f utf-8 -t ascii file > new_file in the post extract stage, I wonder if there is a more suitable way for achieving the same thing. Also I would like to avoid this software from depending on iconv. Thanks in advance.