Standard C Language Internationalization Programming
Codeset Conversion

There are several ways to represent a character in a computer system. For example, a Japanese character which means 'bird' is represented as 0xc4bb in eucJP, 0x92b9 in SJIS, and 0xe9b3a5 in UTF-8 codeset respectively. Codeset conversion is necessary to exchange data correctly between processes, filesystems, or computer systems regardless of which codeset is used.

Such codeset converters are provided by the operating system (OS). In language C, you can use iconv, a set of API for codeset conversion.

The following are the standard C library functions related to codeset conversion:

------------------------------------------------
Function	  Description	
------------------------------------------------
iconv_open()      Opens a codeset converter 
iconv()		  Performs a codeset conversion
iconv_close()     Closes a codeset converter
------------------------------------------------

Go to Internationalization Programming Top


Copyright (C) 2012 Kokusaika JP, Inc.
All rights reserved. No reproduction or republication without written permission.