Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 I found why search is not working good...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jerry2000
New Member

Slovenia
63 Posts

Posted - 08 November 2000 :  17:55:34  Show Profile
Search didn't find my international characters for SLovenian language. Problem is with the function in ChkString:

if fField_Type = "SQLString" then
fString = Replace(fString, "'", "''")
'fString = server.HTMLEncode(fString)
ChkString = fString
exit function

The line fString = server.HTMLEncode(fstring) needs to be commented and then search works. Why is this HTMLEncode used and what functionality do I loose if I delete this line? I know I gain search, but... What do I loose? Why is it there?

Yours

Jerry

HuwR
Forum Admin

United Kingdom
20592 Posts

Posted - 08 November 2000 :  19:00:50  Show Profile  Visit HuwR's Homepage
As long as you can post and preview messages ok, it shouldn't be any problem. You could also try using just the internal HTMLEncode rather than server.HTMLencode, this just replaces the < and > tags, I think the server.htmlencode replaces all non printing chars.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07