bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnu-libiconv] Re: Different iconv behaviour between mac os x and li


From: Mario Gazzo
Subject: [bug-gnu-libiconv] Re: Different iconv behaviour between mac os x and linux
Date: Mon, 16 Nov 2009 10:59:26 +0100

Hi,

Seems I found the solution myself. The iconv utility that comes builtin with Mac OS X has support for UTF-8-MAC, which is the one I must use instead of the standard UTF-8. I do not know the difference between them but it works when changing the from encoding to UTF-8-MAC. Does anyone know whether there is a compile option to include this in the iconv build or is it an encoding that Apple has added later and as such is not available in the GNU distribution?

Hopefully this will help others who run into the same issue.

Cheers
Mario Gazzo

On 16/11/2009, at 00.54, Mario Gazzo wrote:

Hi,

I have been using iconv on linux for years in one of my bash script that extracts artist, title and artist names from files in mp3 tagging. Given certain file and folder structures and naming conventions it can derive artist, title and artist names and pass it to an mp3 tagger. The role that iconv has is to convert the derived artist, title and artist names encoded in UTF-8 to ISO-8859-1, which is the encoding that mp3 tags use.

Recently I moved all music files to an Mac OS X server instead but now the script no longer works because iconv on Mac OS X does no longer work the same way. Characters like ü or ã, which should be part of ISO-8859-1, can longer be handled. It simply fails or I have to use -c option but then I don't get some non-english metadata right. I compiled and installed the latest 1.13.1 but little did it help. I though both Mac OS X and Linux used the same UTF-8 encoding in filenames and directory names from which I derive my meta data.

I am out of ideas and hoping that someone might be able to give me a clue on what might be wrong. Any help is greatly appreciated. Thanks.

Cheers
Mario Gazzo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]