#31531 [Opn]: include or require a unicode file (php or html)

From: Date: Thu, 13 Jan 2005 09:29:43 +0000
Subject: #31531 [Opn]: include or require a unicode file (php or html)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72039@lists.php.net to get a copy of this message
ID: 31531 User updated by: hieu121081 at yahoo dot com Reported By: hieu121081 at yahoo dot com Status: Open Bug Type: *General Issues Operating System: windows PHP Version: 4.3.9 New Comment: I sorry, spacial is wrong, i think it is special Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#72039) next »