Yes, I bet it had to be a pain to get to work for everybody. The
problem is you can tell it how you want the web page encoded (UTF-8)
for example, but when someone pastes something from their Word
Processor or another web page that is encoded differently, I don't
think what gets saved in the database is UTF-8. It's whatever was
passed to the database.
In version 7.x of WWF, I had to change WWF to display in ISO-8859-1
because of the problem of characters not showing up correctly. Almost
all my users use ISO-8859-1, and the headers and footers ASP code is in
ISO-8859-1 as well.
What was weird is IE 6 displayed the forums fine, FireFox 1.x (if I
recall) displayed it fine, but FireFox 1.5x was screwing up the page.
What I in my articles RSS feed did that helped was surround the description content with a <![CDATE[ ]] tag, which prevents newsreaders from chocking on characters that are not valid in XML.
http://www.caribbeanchoice.com/rss.asp
Response.Write "<description>" & vbCrlf Response.Write "<![CDATA[" & vbCrlf
IF rst("ContentAuthorDisplayName").Value <> "" THEN Response.Write "By " & rst("ContentAuthorDisplayName").Value END IF
IF rst("ContentSubHeadline").Value <> "" THEN Response.Write "<p>" & rst("ContentSubHeadline").Value END IF
IF rst("ContentExcerpt").Value <> "" AND rst("ContentSubHeadline").Value <> rst("ContentExcerpt").Value THEN Response.Write "<p>" & rst("ContentExcerpt").Value END IF
IF rst("ContentExcerpt").Value = "" THEN If Len(rst("ContentContent").Value) > 500 Then dot = "... <a href=" & LinkURL & ">Read More...</a>" Else dot = "" End If Response.Write Left(rst("ContentContent").Value,500) & "" & dot END IF
Response.Write "]]>" & vbCrlf Response.Write "</description>" & vbCrlf |