Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 11:55:52 +0200
From:      Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   iconv conversion fails
Message-ID:  <CAHHLbROuq=8PNGfQxcOFKNHus1y8aNoLEHie4mc94jc6cbJ3Qg@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi folks,

I have a problem with the iconv(1) conversion, despite it supporting the
encoding charset ISO-8859-1 it throws the following error:

unsupportedrsion from ISO-8859-1
iconv: try 'iconv -l' to get the list of supported encodings

iconv(1) on BSD has:

% iconv -l | grep ISO-8859-1
CP819 IBM819 ISO-8859-1 ISO-IR-100 ISO8859-1 ISO_8859-1 ISO_8859-1:1987 L1
LATIN1 CSISOLATIN1
ISO-8859-10 ISO-IR-157 ISO8859-10 ISO_8859-10 ISO_8859-10:1992 L6 LATIN6
CSISOLATIN6
ISO-8859-11 ISO8859-11 ISO_8859-11
ISO-8859-13 ISO-IR-179 ISO8859-13 ISO_8859-13 L7 LATIN7
ISO-8859-14 ISO-CELTIC ISO-IR-199 ISO8859-14 ISO_8859-14 ISO_8859-14:1998
L8 LATIN8
ISO-8859-15 ISO-IR-203 ISO8859-15 ISO_8859-15 ISO_8859-15:1998 LATIN-9
ISO-8859-16 ISO-IR-226 ISO8859-16 ISO_8859-16 ISO_8859-16:2001 L10 LATIN10

My .cshrc locale variables are:

setenv LANG es_ES.UTF-8
setenv LC_ALL es_ES.UTF-8

This is the full log[1] of  'bash -x google-translate.sh'

What I'm missing?

--CJPM

[1] http://pastebin.com/jjtC7VJk



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHHLbROuq=8PNGfQxcOFKNHus1y8aNoLEHie4mc94jc6cbJ3Qg>