Lines Matching refs:to_encoding
1541 info.to_encoding = MBSTRG(current_internal_encoding);
2708 MBSTRING_API zend_string* php_mb_convert_encoding_ex(const char *input, size_t length, const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding)
2711 zend_string *result = mb_fast_convert((unsigned char*)input, length, from_encoding, to_encoding, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_illegal_mode), &num_errors);
2716 MBSTRING_API zend_string* php_mb_convert_encoding(const char *input, size_t length, const mbfl_encoding *to_encoding, const mbfl_encoding **from_encodings, size_t num_from_encodings)
2733 return php_mb_convert_encoding_ex(input, length, to_encoding, from_encoding);
2736 MBSTRING_API HashTable *php_mb_convert_encoding_recursive(HashTable *input, const mbfl_encoding *to_encoding, const mbfl_encoding **from_encodings, size_t num_from_encodings)
2757 zend_string *converted_key = php_mb_convert_encoding(ZSTR_VAL(key), ZSTR_LEN(key), to_encoding, from_encodings, num_from_encodings);
2768 zend_string *converted_key = php_mb_convert_encoding(Z_STRVAL_P(entry), Z_STRLEN_P(entry), to_encoding, from_encodings, num_from_encodings);
2787 Z_ARRVAL_P(entry), to_encoding, from_encodings, num_from_encodings);
2852 const mbfl_encoding *to_encoding = php_mb_get_encoding(to_encoding_name, 2);
2853 if (!to_encoding) {
2885 zend_string *ret = php_mb_convert_encoding(ZSTR_VAL(input_str), ZSTR_LEN(input_str), to_encoding, from_encodings, num_from_encodings);
2894 input_ht, to_encoding, from_encodings, num_from_encodings);
3759 static bool mb_recursive_convert_variable(zval *var, const mbfl_encoding* from_encoding, const mbfl_encoding* to_encoding)
3767 zend_string *ret = php_mb_convert_encoding_ex(Z_STRVAL_P(var), Z_STRLEN_P(var), to_encoding, from_encoding);
3799 if (mb_recursive_convert_variable(entry, from_encoding, to_encoding)) {
3822 const mbfl_encoding *from_encoding, *to_encoding;
3834 to_encoding = php_mb_get_encoding(to_enc_str, 1);
3835 if (!to_encoding) {
3904 if (mb_recursive_convert_variable(zv, from_encoding, to_encoding)) {