cv_icu.cpp (Firebird-3.0.2.32703-0.tar.bz2) | : | cv_icu.cpp (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
* and all contributors signed below. | * and all contributors signed below. | |||
* | * | |||
* All Rights Reserved. | * All Rights Reserved. | |||
* Contributor(s): ______________________________________. | * Contributor(s): ______________________________________. | |||
*/ | */ | |||
#include "firebird.h" | #include "firebird.h" | |||
#include "../intl/ldcommon.h" | #include "../intl/ldcommon.h" | |||
#include "ld_proto.h" | #include "ld_proto.h" | |||
#include "cv_icu.h" | #include "cv_icu.h" | |||
#include <unicode/ucnv.h> | ||||
#include "../common/unicode_util.h" | #include "../common/unicode_util.h" | |||
static UConverter* create_converter(csconvert* cv, UErrorCode* status) | static UConverter* create_converter(csconvert* cv, UErrorCode* status) | |||
{ | { | |||
Jrd::UnicodeUtil::ConversionICU& cIcu(Jrd::UnicodeUtil::getConversionICU( )); | Jrd::UnicodeUtil::ConversionICU& cIcu(Jrd::UnicodeUtil::getConversionICU( )); | |||
UConverter* conv = cIcu.ucnv_open(cv->csconvert_impl->cs->charset_name, s tatus); | UConverter* conv = cIcu.ucnv_open(cv->csconvert_impl->cs->charset_name, s tatus); | |||
const void* oldContext; | const void* oldContext; | |||
UConverterFromUCallback oldFromAction; | UConverterFromUCallback oldFromAction; | |||
cIcu.ucnv_setFromUCallBack( | cIcu.ucnv_setFromUCallBack( | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |