control characters in php file handling
<p>I'm trying to write the £ symbol to a file using PHP. However when I open the file I have created the £ sign is always preceded with the symbol <code>¬</code> (on my keyboard this is an alt L)</p>

<p>Is there anyway to suppress this?</p>

<pre><code>$file=fopen($lastid,'w');
echo $file;
fwrite($file, "

    Date: $receipt_date
    Customer: $customer
    Receipt number: $id
    Description: $description


    Amount: £$NET
    VAT: £$VAT
    Total: £$gross

    test:£500

    Payment received with thanks by $payment


    UNIQUECAPTURE VAT:");
fclose($file);
</code></pre>
