close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

P-CMS wont display certain characters

Thread began 1/30/2012 1:13 pm by secure377208 | Last modified 1/30/2012 1:13 pm by secure377208 | 467 views | 0 replies |

secure377208

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&#8217;s accommodation for £200

ends up displaying as

Three night&#1074;&#1026;&#8482;s accommodation for &#1042;&#1032;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">&nbsp;</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>&nbsp;</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>
&nbsp;</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">&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>

</table>
</body>
</html>

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...