blob: 4a09ecb7fe5c1a57af4c6d2581b027a3a2d8d252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
The accompanying C source code file "ConvertUTF.c" and the associated header
file "ConvertUTF.h" provide for conversion between various transformation
formats of Unicode characters. The following conversions are supported:
UCS4 to UTF16
UCS4 to UTF8
UTF16 to UCS4
UTF16 to UTF8
UTF8 to UTF16
UTF8 to UCS4
In addition, there is a test harness which runs various tests.
The files "CVTUTF7.C" and "CVTUTF7.H" are for archival and historical purposes
only. They have not been updated to Unicode 3.0 and should be considered
obsolescent. "CVTUTF7.C" contains two functions that can convert between
UCS2 (i.e., the BMP characters only) and UTF-7. Surrogates are not supported,
the code has not been tested, and should be considered unsuitable for general
purpose use.
Please submit any bug reports about these programs here:
http://www.unicode.org/unicode/reporting.html
Version 1.0: initial version.
Version 1.1: corrected some minor problems; added stricter checks.
Last update: September 19, 2002
|