From 1faddd15d967d7296b049fbb580681463c05ba83 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Wed, 5 Dec 2012 15:07:36 -0800 Subject: Add UConverter class (ICU's UConverter API) RFC at http://wiki.php.net/rfc/uconverter --- ext/intl/php_intl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/intl/php_intl.c') diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index d3d477c971..a2c4d77651 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -34,6 +34,8 @@ #include "collator/collator_create.h" #include "collator/collator_error.h" +#include "converter/converter.h" + #include "formatter/formatter.h" #include "formatter/formatter_class.h" #include "formatter/formatter_attr.h" @@ -986,6 +988,9 @@ PHP_MINIT_FUNCTION( intl ) /* Global error handling. */ intl_error_init( NULL TSRMLS_CC ); + /* 'Converter' class for codepage conversions */ + php_converter_minit(INIT_FUNC_ARGS_PASSTHRU); + return SUCCESS; } /* }}} */ -- cgit v1.2.1