Forum Moderators: rogerd

Message Too Old, No Replies

strange characters appear in forum posts.

         

musicales

6:58 pm on Jun 6, 2005 (gmt 0)

10+ Year Member



Not sure if this will show up here:

From time to time when members post to a forum of mine, these kind of 'junk' characters appear where things like quotes should be. I think these may be caused by keyboards that have different settings, or possibly pasting from Word. Anyone know more about them and how to prevent them?

kodaks

12:33 am on Jun 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What type of forum software do you use?

musicales

5:38 am on Jun 7, 2005 (gmt 0)

10+ Year Member



it's a custom asp script.

tsheridan

1:42 am on Jun 10, 2005 (gmt 0)

10+ Year Member



I smile every time I see the subject line of this thread, because "strange characters" appear in my forum's posts too - only they are my members!
*heehee*
Administration: it's a tough job, but someone's gotta do it!

musicales

5:41 am on Jun 10, 2005 (gmt 0)

10+ Year Member



lol - those characters are even harder to remove!

encyclo

12:30 pm on Jun 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is possibly a character encoding issue: the quotes are often copied-pasted from a Windows application which is using a charset of windows-1252 or similar. You are probably declaring a charset on your site which is different, for example ISO-8859-1 or UTF-8.

I know that in PHP you can use something like

iconv
to re-encode the incoming text. I have no experience of ASP but I assume there will be a function to do the same.