Re: Re: Question on zend_make_printable

From: Date: Sat, 03 Jun 2006 11:58:36 +0000
Subject: Re: Re: Question on zend_make_printable
References: 1 2  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1008@lists.php.net to get a copy of this message
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

« previous php.i18n (#1008) next »