andrei          Mon Mar 27 21:19:12 2006 UTC

  Modified files:              
    /php-src/ext/standard       var.c 
  Log:
  Make a UTODO note.
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/var.c?r1=1.227&r2=1.228&diff_format=u
Index: php-src/ext/standard/var.c
diff -u php-src/ext/standard/var.c:1.227 php-src/ext/standard/var.c:1.228
--- php-src/ext/standard/var.c:1.227    Mon Mar 27 19:24:18 2006
+++ php-src/ext/standard/var.c  Mon Mar 27 21:19:12 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: var.c,v 1.227 2006/03/27 19:24:18 andrei Exp $ */
+/* $Id: var.c,v 1.228 2006/03/27 21:19:12 andrei Exp $ */
 
 
 
@@ -605,6 +605,12 @@
                php_start_ob_buffer (NULL, 0, 1 TSRMLS_CC);
        }
        
+       /* UTODO
+        * We need to escape non-ASCII chars with \uXXXX format. 
php_var_export()
+        * currently uses output_encoding to export Unicode strings. Support 
it's
+        * set to utf-8. If you use the result of var_export() in non-utf-8 
context,
+        * there may be trouble.
+        */
        php_var_export(&var, 1 TSRMLS_CC);
 
        if (return_output) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to