#41760 [Opn]: function require() displays unknown string when unicode is used
| From: | a_suhbold at yahoo dot com | Date: | Thu, 21 Jun 2007 12:23:52 +0000 |
| Subject: | #41760 [Opn]: function require() displays unknown string when unicode is used | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113997@lists.php.net to get a copy of this message | ||
ID: 41760
User updated by: a_suhbold at yahoo dot com
-Reported By: sukhbold dot altanbat at wipro dot com
+Reported By: a_suhbold at yahoo dot com
Status: Open
Bug Type: *General Issues
Operating System: Windows
PHP Version: 4.4.7
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2007-06-21 12:23:08] a_suhbold at yahoo dot com
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 this bug report at http://bugs.php.net/?id=41760&edit=1