ID: 31531
Updated by: [EMAIL PROTECTED]
Reported By: hieu121081 at yahoo dot com
Status: Open
Bug Type: *General Issues
Operating System: windows
PHP Version: 4.3.9
New Comment:
You might check the document you are including the file containing
UTF-8 into. Is it UTF-8 as well? Character encoding mismatches may
generate this behavior.
[Is this a dup of #22108?]
Previous Comments:
------------------------------------------------------------------------
[2005-01-13 10:29:42] hieu121081 at yahoo dot com
I sorry, spacial is wrong, i think it is special
------------------------------------------------------------------------
[2005-01-13 10:25:49] hieu121081 at yahoo dot com
Description:
------------
I read BUG #22778, but thit problem did'n slove. so that, i decided
report my problem.
I create a php or html file by notepad, and save them as utf-8.
in a other php file, sample as test.php , In this file, I use function
include or require to include utf-8 file.
When i use a browser (IE) to open file test.php, i alway see in my code
a spacial charactor as spuare when i view source. But i browser,
sometime i see a spacial charactor as  and when i refresh that
page, it'll be hidden.
This error is not big problem, but i think, if that charactor don't
display, is better.
Sorry if My English not good.
Reproduce code:
---------------
This file is included (file1.php)
<?php
$biến = "Không biết có được không?";
echo $biến;
?>
This file is include file above (file2.php)
<?php
require_once("test.php");
?>
Expected result:
----------------
source HTML
{a spacial charactor display here, but i can copy it}Chào
mọi người, Chúng ta bắt.Không biết có được không?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31531&edit=1