]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/ustr_cnv.h
861e3ebff0613b730f574282c2050f71487147eb
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 **********************************************************************
5 * Copyright (C) 1999-2010, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 **********************************************************************
8 * file name: ustr_cnv.h
10 * tab size: 8 (not used)
13 * created on: 2004Aug27
14 * created by: George Rhoten
17 #ifndef USTR_CNV_IMP_H
18 #define USTR_CNV_IMP_H
20 #include "unicode/utypes.h"
21 #include "unicode/ucnv.h"
23 #if !UCONFIG_NO_CONVERSION
26 * Get the default converter. This is a commonly used converter
27 * that is used for the ustring and UnicodeString API.
28 * Remember to use the u_releaseDefaultConverter when you are done.
31 U_CAPI UConverter
* U_EXPORT2
32 u_getDefaultConverter(UErrorCode
*status
);
36 * Release the default converter to the converter cache.
40 u_releaseDefaultConverter(UConverter
*converter
);
43 * Flush the default converter, if cached.
47 u_flushDefaultConverter(void);