Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Iconv

Options
  • 29-06-2006 2:35pm
    #1
    Registered Users Posts: 1,472 ✭✭✭


    Anyone here ever have to use iconv to convert between characeter sets??


Comments

  • Registered Users Posts: 6,508 ✭✭✭daymobrew


    Yes, well I see it used in a gaim patch I have here.

    Should this yes/no question be a simple poll or were you looking for specific information that is not in the manpage or in google.groups.com? :p


  • Registered Users Posts: 1,472 ✭✭✭tred


    daymobrew wrote:
    Yes, well I see it used in a gaim patch I have here.

    Should this yes/no question be a simple poll or were you looking for specific information that is not in the manpage or in google.groups.com? :p


    You can use iconv to convert say a text file/email from one character set to another. I am just wondering has anyone ever tried setting characters for Russian ISO-8859/5 (Cyrillic),


  • Registered Users Posts: 6,508 ✭✭✭daymobrew


    tred wrote:
    I am just wondering has anyone ever tried setting characters for Russian ISO-8859/5 (Cyrillic),
    http://www.google.com/search?hl=en&q=iconv+cyrillic&btnG=Google+Search
    http://bama.ua.edu/cgi-bin/man-cgi?iconv+5 mentions ISO-8859:
    ISO 8859-5 iso5 KOI8-R koi8 KOI8-R
    ISO 8859-5 iso5 PC Cyrillic alt Alternative PC Cyrillic
    ISO 8859-5 iso5 MS 1251 win5 Windows Cyrillic
    ISO 8859-5 iso5 Mac Cyrillic mac Macintosh Cyrillic
    KOI8-R koi8 ISO 8859-5 iso5 ISO 8859-5 Cyrillic
    KOI8-R koi8 PC Cyrillic alt Alternative PC Cyrillic
    KOI8-R koi8 MS 1251 win5 Windows Cyrillic
    KOI8-R koi8 Mac Cyrillic mac Macintosh Cyrillic
    PC Cyrillic alt ISO 8859-5 iso5 ISO 8859-5 Cyrillic
    MS 1251 win5 ISO 8859-5 iso5 ISO 8859-5 Cyrillic
    MS 1251 win5 KOI8-R koi8 KOI8-R
    MS 1251 win5 PC Cyrillic alt Alternative PC Cyrillic
    MS 1251 win5 Mac Cyrillic mac Macintosh Cyrillic
    Mac Cyrillic mac ISO 8859-5 iso5 ISO 8859-5 Cyrillic
    Mac Cyrillic mac KOI8-R koi8 KOI8-R
    Mac Cyrillic mac PC Cyrillic alt Alternative PC Cyrillic
    Mac Cyrillic mac MS 1251 win5 Windows Cyrillic

    Please describe what you are trying to do and what issues you are having. It's painful trying to help someone who trickles the info out.
    It's considerably quicker to try the thing and then come looking for help if it fails.


  • Registered Users Posts: 1,472 ✭✭✭tred


    daymobrew wrote:
    http://www.google.com/search?hl=en&q=iconv+cyrillic&btnG=Google+Search
    http://bama.ua.edu/cgi-bin/man-cgi?iconv+5 mentions ISO-8859:


    Please describe what you are trying to do and what issues you are having. It's painful trying to help someone who trickles the info out.
    It's considerably quicker to try the thing and then come looking for help if it fails.

    got it sorted..apologies for late feedback. Looked at the library files for iconv and figured it out. I am grabbing an email from a russian user, and converting it from cyrillic to UTF..unicode... so that the customer gets it correctly as its travelling through a europeen system, so we have to handle the translation manually. Move the mail to a file, figure out if its russian, and then convert file. then dump file to mailx...its working.......


Advertisement