LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2008, 04:51 AM   #1
ninjakdb
LQ Newbie
 
Registered: Oct 2008
Location: UK Midlands
Distribution: Redhat
Posts: 2

Rep: Reputation: 0
Exclamation Iconv error : illegal input sequence at position


Hi

I am having problems converting a file from an Oracle system using code page UTF-8 via FTP to Linux code page iso-8859-1
The error it finds is where a character displayed as is found, the actual character is a ' as in foot, this is entered on a french database so wonder if this is a special character that is causing it or is there a way of converting that character prior to the full convertion ?

Thanks
 
Old 10-22-2008, 07:04 AM   #2
ninjakdb
LQ Newbie
 
Registered: Oct 2008
Location: UK Midlands
Distribution: Redhat
Posts: 2

Original Poster
Rep: Reputation: 0
Answer found

Use iconv -f UTF-8 -t ISO-8859-1 //TRANSLIT
 
Old 11-17-2013, 08:45 AM   #3
postcd
Member
 
Registered: Oct 2013
Posts: 400

Rep: Reputation: Disabled
Im trying to achieve the same doing command:

iconv -f UTF-8 -t ISO-8859-1//TRANSLIT < in > out
iconv: illegal input sequence at position 10

my in file contains only:

ĹŻĹľete vyĹ.adit pĹ.Ă*sp

any idea please?
 
Old 11-17-2013, 07:45 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
postcd and you are using a OLD Oracle Operating system from 2008
( a Oracle rebuild of RHEL 4 or 5 )

this thread is 5 years old

there were missing fonts

use a new operating system
 
Old 11-18-2013, 01:50 PM   #5
postcd
Member
 
Registered: Oct 2013
Posts: 400

Rep: Reputation: Disabled
Please is there any way on how to update missing fonts on CentOS without reinstall, i have just virtual private server and alot of configurations to do any major reinstallation just because of this file conversion. WHich command, can you point to the details / url?
 
Old 11-18-2013, 02:27 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
CentOS and Oracle linux are both rebuilds of RHEL - but NOT the same operating system

WHAT version of cent are you using ?
the ONLY supported versions are CentOS 5.9 and 6.4
-- soon to be 5.10 and 6.5

have a look at the cent base repo
Code:
su -
yum search font
that will give you a list
and have a look at the language software groups
Code:
su -
yum grouplist
mind you you can only install software on a supported version of cent
Code:
su -
yum install ??????
-------- or for a group ----------
yum groupinstall "Name of Group"
aslo ftp now uses BY DEFAULT binary and NOT ascii
so there is no need to convert something to use ftp

the FIRST post is about using text and ftp on a very OLD operating system

so for a modern OS
this is not needed
just use the DEFAULT ftp settings
 
1 members found this post helpful.
Old 11-19-2013, 07:36 AM   #7
postcd
Member
 
Registered: Oct 2013
Posts: 400

Rep: Reputation: Disabled
Thank you for valuable info., "cat /etc/issue":
CentOS release 5.10 (Final)
uname -r
2.6.18-348.3.1.el5.028stab106.2

so i asume "Iconv error : illegal input sequence at position" is because of some unsupported character and as you say it wont be fixed by installing any fonts via yum on my OS version.

I tried initial command: iconv -f UTF-8 -t ISO-8859-1//TRANSLIT myfile - it went further, but still returned:

Quote:
LOCK TABLES `cache_page` WRITE;
/*!40000 ALTER TABLE `cache_page` DISABLE KEYS */;
INSERT INTO `cache_page` VALUES ('http://website.com/?q=guestbook/0+%5bplm=0%5d+get+http://website.com/?q=guestbook/0+%5...d%5b0,0,385%5d','iconv: illegal input sequence at position 512163875
I watched yum list font* but not sure if i need any of these, "8859-1" is not within the packages. 8859-2 was so i isntalled and tried conversion for it, but same error.


I tried it both at CentOS 5.1, 6.4 and Ubuntu 10.04.1 LTS - same error, please idea?
 
Old 11-19-2013, 01:41 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
just use the current binary ftp
and not the ascii ftp

this is a thread about ftp after all

Centos 5.1 and ubuntu 10 are both unsupported Operating systems
 
Old 11-19-2013, 03:11 PM   #9
postcd
Member
 
Registered: Oct 2013
Posts: 400

Rep: Reputation: Disabled
Please share with me and future readers how is called the feature which allows the conversion we want to do? I mean you telling that CentOS 5.1 and Ubunntu 10 is unsupported. What is the feature name, software name which allows the conversion we want to do / where to see the list of supported OSes?

Last edited by postcd; 11-19-2013 at 03:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP with glib-2.12.9 installation -#error GNU libiconv not in use but included iconv _Marlon_ Linux - Software 2 12-20-2011 11:20 PM
Sablotron+iconv+php+apache error MPowers Linux - Software 0 03-02-2006 03:27 AM
man gives error information(iconv: illegal input sequence at position XX) haodongdong Linux - Software 1 05-04-2005 11:38 PM
Mplayer Illegal Instruction error visualnoise Linux - Software 4 02-28-2005 04:49 PM
Illegal Seek error from Motion larry.barnes Linux - Software 0 05-01-2004 09:58 PM


All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration