#41760 [NEW]: function require() displays unknown string when unicode is used

From: Date: Thu, 21 Jun 2007 12:23:08 +0000
Subject: #41760 [NEW]: function require() displays unknown string when unicode is used
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113996@lists.php.net to get a copy of this message
From: sukhbold dot altanbat at wipro dot com Operating system: Windows PHP version: 4.4.7 PHP Bug Type: *General Issues Bug description: function require() displays unknown string when unicode is used Description: ------------ I have faced a problem. i have created the following 2 php files. 1. index.php (i have saved as UTF-08 in notepad coz i want to display cyrillic symbols) <? ........ echo "hello<br>". echo "Çäðàâñòâóéòå means hello in Russian language<br>"; require("test.php"); ........ ?> 2. test.php (i have saved as UTF-08 in notepad coz i want to display cyrillic symbols) <? ........ echo "Ñîþç â ïîääåðæêó íàðîäíîãî äâèæåíèÿ<br>"; ........ ?> ------------------------------------------- output: hello Çäðàâñòâóéòå means hello in Russian language Ñîþç â ïîääåðæêó íàðîäíîãî äâèæåíèÿ  is the unknown string How can i remove the unknown string when i am using unicode. ------------------------------------------- thx Sukhee -- Edit bug report at http://bugs.php.net/?id=41760&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41760&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41760&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41760&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41760&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41760&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41760&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41760&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41760&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41760&r=support Expected behavior: http://bugs.php.net/fix.php?id=41760&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41760&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41760&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41760&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41760&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41760&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41760&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41760&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41760&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41760&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41760&r=mysqlcfg

« previous php.bugs (#113996) next »