Re: Can I mutilate UT_iconv_open()?


Subject: Re: Can I mutilate UT_iconv_open()?
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Sat Mar 31 2001 - 01:31:31 CST


On Saturday, March 31, 2001, at 02:06 AM, Kevin Vajk wrote:

> However, what I'd like to do is modify UT_iconv_open() such that if
> iconv_open() fails, it'll try a few different permutations on the
> strings before giving up. (For example, it would convert to lower-case
> and remove dashes, then try again.)
>
> Does this sound really ugly to you guys? I realize that HP-UX isn't
> really your target platform, so let me know if you think this is the
> wrong thing to do. Thanks!

Best use #ifdef with the HPUX specific define to add the code that will
convert charset name to HP-UX syntax. That is IMHO a safer practice.

Hub



This archive was generated by hypermail 2b25 : Sat Mar 31 2001 - 01:29:06 CST