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

Reply via email to