php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46819 Getting £ when using<?php include("price.php"); ?>
Submitted: 2008-12-10 07:58 UTC Modified: 2008-12-10 15:20 UTC
From: sean dot s at superior dot co dot uk Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.8 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sean dot s at superior dot co dot uk
New email:
PHP Version: OS:

 

 [2008-12-10 07:58 UTC] sean dot s at superior dot co dot uk
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-10 15:20 UTC] jani@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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 12:01:30 2024 UTC