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 |
Answer found
Use iconv -f UTF-8 -t ISO-8859-1 //TRANSLIT
|
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? |
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 |
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?
|
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 - and have a look at the language software groups Code:
su - Code:
su - 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 |
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:
I tried it both at CentOS 5.1, 6.4 and Ubuntu 10.04.1 LTS - same error, please idea? |
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 |
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?
|
All times are GMT -5. The time now is 05:38 AM. |