Print Page | Close Window

quotation problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14772
Printed Date: 30 March 2026 at 6:55am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: quotation problem
Posted By: andyc209
Subject: quotation problem
Date Posted: 20 April 2005 at 11:21am
I have a site with a simple admin tool (cut and paste text into a form field etc)

Problem is, whenever someone copies in text with quotation marks, dollar/pound signs and then
submits it to the database, the text shown on the front end contains ? marks instead.

I have read this may be due to special characters or something, is there anyway to stop this
happening or filter it out as the admin is for general use by registered people.

thanks for any help



Replies:
Posted By: C.P.A.
Date Posted: 26 April 2005 at 10:35am
use the replace function and

strTextToReplace = Replace(strTextToReplace,"£","£")
strTextToReplace = Replace(strTextToReplace,"$","$")

also make sure that your page contains the character code identfier, like:   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

good luck

-------------
C.P.A. » The more you find out about the world, the more opportunities warmly welcome you.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net