Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Active Forum Users - Strange Characters (9.53)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active Forum Users - Strange Characters (9.53)

 Post Reply Post Reply Page  <123
Author
dotster View Drop Down
Newbie
Newbie


Joined: 03 October 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote dotster Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2008 at 6:08pm
This code below is from "functions_filters.asp"
Because of something Bruce said mentioning Vietnamese I thought I would try something.


I commented out the line in red in the code below  and no more < 's anywhere so far

'*********************************************
'***    Strip all tags   *****
'*********************************************

'Remove all tags for text only display
Private Function removeAllTags(ByVal strInputEntry)

 'Remove all HTML scripting tags etc. for plain text output
 strInputEntry = Replace(strInputEntry, "&", "&amp;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, "<", "&lt;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, ">", "&gt;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, "'", "&#039;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, """", "&quot;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, "\", "&#092;", 1, -1, 1)
' strInputEntry = Replace(strInputEntry, Chr(173), "&lt;", 1, -1, 1) 'Vietmanise < tag
 'Return
 removeAllTags = strInputEntry
End Function


Now I can assure you I am not running anything odd on my server as far as the locale, character encoding, or whatever goes. I nor any of my users are using Vietamise.

LCID 1033 Server based in East Coast US, all US default settings on everything. That goes for the SQL server as well and the html I am surrounding the forums in. Nothing out of the ordinary here.

Honestly, I don't get why this was happening or how on earth those characters that should not be chr(173) are getting replaced by that line but this fix seems to work so oh well. I am going with it for now. I don't see what it can really hurt as the really important stuff is still getting taken care of by the function.


Edited by dotster - 04 October 2008 at 6:51pm
Back to Top
pbanks View Drop Down
Groupie
Groupie


Joined: 22 August 2008
Location: Ireland
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote pbanks Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2008 at 9:41pm
Sadly, this cludge doesn't fully fix it for me ...
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2008 at 10:08am
The Active Users list uses application variables so you may need to wait sometime for the changes to filter through.

However, the fix that doster has should fix the issue why it is investigated to try and findout why this should be effecting some servers and not others, and why it has come up now considering that this function has not been changed.
Back to Top
dotster View Drop Down
Newbie
Newbie


Joined: 03 October 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote dotster Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2008 at 2:28pm
As I went from 8.03 to 9.x the removealltags functions is different ... I can not speak for anyone else but that is how I never saw the issue before

Anyway, just an update that everything has been perfect since I made that code change.

Best Regards
Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.