php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41760 function require() displays unknown string when unicode is used
Submitted: 2007-06-21 12:23 UTC Modified: 2007-06-21 21:41 UTC
From: a_suhbold at yahoo dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.4.7 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: a_suhbold at yahoo dot com
New email:
PHP Version: OS:

 

 [2007-06-21 12:23 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-21 12:23 UTC] a_suhbold at yahoo dot com
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
 [2007-06-21 21:41 UTC] johannes@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 18:00:01 2025 UTC