#46819 [NEW]: Getting £ when using<?php include("price.php"); ?>
| From: | sean dot s at superior dot co dot uk | Date: | Wed, 10 Dec 2008 07:58:09 +0000 |
| Subject: | #46819 [NEW]: Getting £ when using<?php include("price.php"); ?> | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-131854@lists.php.net to get a copy of this message | ||
From: sean dot s at superior dot co dot uk
Operating system:
PHP version: 5.2.8
PHP Bug Type: *General Issues
Bug description: Getting £ when using<?php include("price.php"); ?>
Description:
------------
Im inserting tables into my php document using the simple <?php
include("price.php"); ?> But it wont display the £ symbol on its own?
It puts  before every £ symbol? appears like this £.
Is this a bug?
Reproduce code:
---------------
<?php include("price.php"); ?>
------
price.php
<table width="73%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="7%"><table id="one-column-emphasis" summary="2007
Major IT
Companies' Profit">
<colgroup>
<col class="oce-first" />
</colgroup>
<thead>
<tr>
<th scope="col">POSTERS</th>
<th scope="col">50</th>
<th scope="col">100</th>
<th scope="col">250</th>
<th scope="col">500</th>
<th scope="col">1,000</th>
<th scope="col">2,500</th>
<th scope="col">5,000</th>
<th scope="col">10,000</th>
<th scope="col">Leadtime</th>
</tr>
</thead>
<tbody>
<tr>
<td>A4 Poster</td>
<td>£372</td>
<td>£393</td>
<td>£474</td>
<td>£649</td>
<td>£904</td>
<td>£1,300</td>
<td>£2,300</td>
<td>£3,900</td>
<td>3 days </td>
</tr>
<tr>
<td>A3 Poster </td>
<td>£372</td>
<td>£450</td>
<td>£580</td>
<td>£720</td>
<td>£1,100</td>
<td>£1,400</td>
<td>£2,333</td>
<td>£4,600</td>
<td>3 days </td>
</tr>
<tr>
<td>A2 Poster </td>
<td>£372</td>
<td>£575</td>
<td>£630</td>
<td>£823</td>
<td>£1,211</td>
<td>£1,500</td>
<td>£2,522</td>
<td>£7,200</td>
<td>5 days </td>
</tr>
<tr>
<td>A1 Poster </td>
<td>£372</td>
<td>£600</td>
<td>£711</td>
<td>£915</td>
<td>£1,400</td>
<td>£1,893</td>
<td>£2,601</td>
<td>£8,400</td>
<td>5 days </td>
</tr>
</tbody>
</table>
Expected result:
----------------
£1.99
Actual result:
--------------
£1.99
--
Edit bug report at http://bugs.php.net/?id=46819&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46819&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46819&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46819&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46819&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46819&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46819&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46819&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46819&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46819&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46819&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46819&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46819&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46819&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46819&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46819&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46819&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46819&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46819&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46819&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46819&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46819&r=mysqlcfg