From:             plasmapermanent at msn dot com
Operating system: Windows XP SP2
PHP version:      5.2.0
PHP Bug Type:     Output Control
Bug description:  UTF8 file include output return unknow character.

Description:
------------
I use all file in utf8 format. All thing look like good work. But when
include utf8 file it have something wrong. My table move to bottom of
page. I try to view source. It is very simple HTML code. No where wrong
code. But it have more space separate from header. I try to check all it
appear because I use code like this. Another place display true (May be).

Reproduce code:
---------------
if(!empty($headtemp)) include($path.'\\'.$headtemp);
if(!empty($toptemp)) include($path.'\\'.$toptemp);
for($$linenum=0;$$linenum<$$x;$$linenum++){
        mysql_data_seek($$datacontain,$$linenum);
        $$returnnm=mysql_fetch_array($$datacontain);
        if(!empty($midtemp)) include($path.'\\'.$midtemp);
}


Expected result:
----------------
Result when display should be true.

Actual result:
--------------
Result display when I view source of page are ok.
But page display should be ok like source code.

Now it show like.

<table border=1>
?<tr>
<td>1</td>
</tr>
?<tr>
<td>2</td>
</tr>
?<tr>
<td>3</td>
</tr>
</table>

? is something wrong.
It made table lose structure it data display on bottom of page and have
space between start tag <table> and data.

-- 
Edit bug report at http://bugs.php.net/?id=40072&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40072&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40072&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40072&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40072&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40072&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40072&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40072&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40072&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40072&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40072&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40072&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40072&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40072&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40072&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40072&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40072&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40072&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40072&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40072&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40072&r=mysqlcfg

Reply via email to