P-CMS wont display certain characters
Update.
If it helps others the following issue was resolved by changing the headers to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Breakfast at Marton Grange</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Hi,
In testing a power CMS install for a client we have found that certain characters dont display correctly when displayed on the web page. for example
The following text as entered into the pcms control panel;
Three night’s accommodation for £200
ends up displaying as
Three night’s accommodation for £200
while the client may be able to do without using apostrophes ' they cannot manage without being able to display the £ sign.
In case it helps I have copied the code for the page displaying the text below.
Any help would be appreciated.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Breakfast at Marton Grange</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="123" background="images/index_01.gif"> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="158" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/index_02.gif" width="158" height="66" alt=""></td>
</tr>
<tr>
<td><a href="index.html"><img src="images/index_04.gif" alt="" width="158" height="30" border="0"></a></td>
</tr>
<tr>
<td><a href="about-us.html"><img src="images/index_05.gif" alt="" width="158" height="35" border="0"></a></td>
</tr>
<tr>
<td><a href="services.html"><img src="images/index_06.gif" alt="" width="158" height="31" border="0"></a></td>
</tr>
<tr>
<td><a href="location.htm"><img src="images/index_07.gif" alt="" width="158" height="34" border="0"></a></td>
</tr>
<tr>
<td><a href="tariff.htm"><img src="images/index_08.gif" alt="" width="158" height="34" border="0"></a></td>
</tr>
<tr>
<td><a href="offers.php"><img src="images/offers.gif" alt="" width="158" height="32" border="0"></a></td>
</tr>
<tr>
<td><a href="http://securebooking.eviivo.com/MyWebsite/MartonYO151DU.home" target="_blank"><img src="images/book-online.gif" alt="" width="158" height="32" border="0"></a></td>
</tr>
<tr>
<td><a href="gallery.html"><img src="images/index_09.gif" alt="" width="158" height="32" border="0"></a></td>
</tr>
<tr>
<td><p> </p>
<p><a href="http://securebooking.eviivo.com/MyWebsite/MartonYO151DU.home " target="_blank"><img src="images/online-booking.jpg" alt="Book Online" width="147" height="28" border="0"></a></p></td>
</tr>
</table></td>
<td width="608" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="605" height="340">
<param name="movie" value="services.swf">
<param name="quality" value="High">
<embed src="services.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="605" height="340" quality="High"></object>
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="10">
<tr>
<td><p>
<?php
include('/home/sites/marton-grange.co.uk/public_html/powercms/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_localhost, $localhost, 'Special Offers' , 'section 1');
?>
</p>
<p> <br>
<br>
<br>
</p></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" bgcolor="#642B12"><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td class="white-text">
<table border="0" width="100%">
<tr>
<td>Copyright 2008 © LPL Limited. All rights reserved.
</td>
<td width="236">
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>