]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/ustr_cnv.h
2 **********************************************************************
3 * Copyright (C) 1999-2010, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * file name: ustr_cnv.h
8 * tab size: 8 (not used)
11 * created on: 2004Aug27
12 * created by: George Rhoten
15 #ifndef USTR_CNV_IMP_H
16 #define USTR_CNV_IMP_H
18 #include "unicode/utypes.h"
19 #include "unicode/ucnv.h"
21 #if !UCONFIG_NO_CONVERSION
24 * Get the default converter. This is a commonly used converter
25 * that is used for the ustring and UnicodeString API.
26 * Remember to use the u_releaseDefaultConverter when you are done.
29 U_CAPI UConverter
* U_EXPORT2
30 u_getDefaultConverter(UErrorCode
*status
);
34 * Release the default converter to the converter cache.
38 u_releaseDefaultConverter(UConverter
*converter
);
41 * Flush the default converter, if cached.
45 u_flushDefaultConverter(void);