Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

iconv, iconv_open, iconv_close - compatible APIs; different implementation (CrCh237)

I18N Impacts LIB Impacts

Problem description

The iconv, iconv_open, and iconv_close functions are provided in libiconv on Tru64 UNIX; they are in libc on HP-UX. There are also some Tru64 specific codeset converter features.

The iconv, iconv_open, and iconv_close functions convert a string of characters from one codeset to another.

The following codeset converter features are available on Tru64 only:

  • LOCPATH environment variable for changing search path of converters.

  • Tru64 UNIX specific iconv features:

    • UTF-16 (with surrogate pairs) support
    • Direct conversion to and from UTF-32/UCS-4
    • Environment variables providing control over the conversion behavior:
    • Detailed customizing system for the iconv converters of Japanese mainframe codesets (ibmkanji, KEIS, and JEF)


Programming Libraries-liconv C/C++ Functionsiconv_close Command ArgumentsICONV_PHRCONV
C/C++ Functionsiconv Command ArgumentsICONV_DEFSTR Programming Librarieslibiconv.a
Command ArgumentsICONV_ACTION Command ArgumentsICONV_NOBOM Programming Librarieslibiconv.so
Command ArgumentsICONV_BYTEORDER C/C++ Functionsiconv_open  

See also

Solution description

The iconv, iconv_open, and iconv_close functions are in libc on HP-UX.

Review the Makefiles to remove any libiconv reference.

Applications that use these functions might work properly depending on how the codeset converters are used. Review the applicable manpages and code to determine if unexpected behavior will result.

See also

Problem summary

classifications source types OS release severity type
I18N, LIB C, C++, Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.