Re: [PHP-I18N] Re: Question on zend_make_printable

[email protected] (Marcus Boerger)
Newsgroups php.i18n
Message-ID <[email protected]>
Hello Michael,

  in that case i see two options. First provide a third version that
choses between unicode/string automatically which is the reight way
of a lot of stuff internally and stay with the old stuuf. And second
apply the output encoding at the end of the function. Thinking about
it the first solution makes much more sense.

best regards
marcus

Saturday, June 3, 2006, 1:50:26 PM, you wrote:

> Marcus Boerger wrote:
>> Hello Anrei,
>> 
>>   why don't we simply make zend_make_printable_zval() call on of
>> zend_make_unicode_zval/zend_make_string_zval() depending on ini
>> setting unicode_semantics, see attached patch.

> Probably, because make_printable_zval uses output_encoding?

> Regards,
> -- 
> Michael




-- 
Best regards,
 marcus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.