summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2012-12-05 15:07:36 -0800
committerGustavo Lopes <glopes@nebm.ist.utl.pt>2013-01-29 19:05:14 +0100
commit1faddd15d967d7296b049fbb580681463c05ba83 (patch)
tree3d839b570e9baebc5b017cac29aec93fc6696e89 /ext/intl/php_intl.c
parent37c304b5db16fcf402ec00d7c8c4a228c4b5cdc4 (diff)
downloadphp-git-1faddd15d967d7296b049fbb580681463c05ba83.tar.gz
Add UConverter class (ICU's UConverter API)
RFC at http://wiki.php.net/rfc/uconverter
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r--ext/intl/php_intl.c5
1 files changed, 5 insertions, 0 deletions
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;
}
/* }}} */