LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2008, 03:50 AM   #1
mauros
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Problems with iconv and ISO-8859-1


Hello

I have some problems with the program iconv because it cannot convert between ISO-8859-1 and UTF-8. For example, when I install a program with APT (Debian):
Quote:
manconv: iconv_open ("UTF-8//IGNORE", "ISO-8859-1"): Invalid argument
A lot of programs have the same problem, for example when I copy a text in ISO to a Scite text editor:
Quote:
Can not iconv ISO-8859-1 UTF-8
I've tried reconfiguring the locales and reinstalling glibc, but without results.



Thanks
 
Old 05-28-2008, 01:10 AM   #2
mauros
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Can anybody help me?
 
Old 06-05-2008, 02:38 PM   #3
mauros
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
?????????????
 
Old 11-22-2011, 01:31 PM   #4
Delyibmak0
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
on debian lenny I had something similar:

manconv: iconv_open ("UTF-8//IGNORE", "euc"): Invalid argument

Debugging:
sudo -u man mandb --no-purge --quiet --create --debug | less

sample:
wrong: iconv -f euc -t UTF-8//IGNORE < /usr/local/share/man/japanese.euc/man1/sweep.1
right: iconv -f EUC-JP -t UTF-8//IGNORE < /usr/local/share/man/japanese.euc/man1/sweep.1

So it turned out there were wrong file names.

I ran from /usr/local/share/man:

rm ja_JP.eu
rm japanese.euc
mv jp.euc jp.euc-jp
ln -sf jp.euc-jp japanese
ln -sf jp.euc-jp ja_JP.ujis
ln -sf jp.euc-jp ja_JP.eucJP
ln -sf jp.euc-jp ja_JP

HTH
 
  


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
Convert file from ISO-8859-1 to some Japanese encoding? (iconv errors) violagirl23 Linux - Software 5 03-26-2008 01:13 AM
Lacking support for ISO-8859-1 NNP Linux - Software 2 02-07-2007 09:01 AM
emacs 21.3 and iso-8859-15 locale otoomet Linux - Software 0 11-01-2004 06:33 AM
Problem with UTF-8 and ISO-8859-1 dasenjo Linux - Software 0 06-22-2003 01:14 AM
iso 8859 or iso 9960 tsundram Linux - Newbie 16 02-22-2002 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 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