<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 21 Sep 2011 22:17:17 +0100
From   : robert@... (Rob)
Subject: Text conversion?

On 21 September 2011 22:04, Darren Grant <darren.grant@...> wrote:
> Hi I have thousands of plain text files that are formatted in the BBC character
set so things like ? don't show up when read on a modern system. Is there
an easy way of converting them to ASCI or UTF-8 encoding ?

For the most part, the Beeb /IS/ ASCII ...  The main exception being in MODE 7,

If it helps, this is the code I use as a quick translate of those to HTML......

 $longtext = str_replace(array("#","_","[","]","{","\\","}","~","`"),
array("&pound;","#","&laquo;","&raquo;","&frac14;","&frac12;","&frac34;","&divide;","-")
, $longtext);


Rob
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>