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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Quotes and apostrophes Problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Specfiction
Starting Member

17 Posts

Posted - 05 July 2007 :  11:29:28  Show Profile
Occasionally topics in the forum that have quotes and apostrophes will have them replaced by question marks. Why is this happening? I'm running 3.4.05.

This only happens on FireFox with some posts. On IE it's always OK...

Edited by - Specfiction on 05 July 2007 11:35:28

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 05 July 2007 :  11:36:31  Show Profile
Because they're not actually quotation marks and apostrophes their left or right, single or double quotation marks; you'll need to tweak your forums to add unicode support in order for them to display correctly. Either that, or educate your members to check things they just copy and paste from other sites/sources for such characters.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Specfiction
Starting Member

17 Posts

Posted - 06 July 2007 :  11:34:35  Show Profile
Can you give me a little more information here. For example, how do I "tweak" the forum to support Unicode? What types of pastes result in this kind of problem, i.e. pastes from Micro Word but not from notebook?
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 06 July 2007 :  11:40:04  Show Profile  Visit bobby131313's Homepage


They're Microsoft smartquotes (the directional ones “A”, not "A"), from MS Word and other MS Software.

eBay had one server that was doing it a couple years ago, but they fixed it somehow.

Until you figure out how to fix it, there's a setting in Word to turn off the smartquotes, you could have the affected members turn them off.


Switch the order of your title tags

Edited by - bobby131313 on 06 July 2007 11:40:40
Go to Top of Page

Specfiction
Starting Member

17 Posts

Posted - 06 July 2007 :  11:55:08  Show Profile
I found out that if you turn "character encoding" in FireFox to US ASCII instead of Unicode, the problem goes away--everything displays correctly including apostrophes and dashes. In IE, it's smart enough to know when not to display text in Unicode. Unfortunately the recent FireFox updates default to Unicode.

Is there some way of having the forum pages tell the browser to show text in Ascii? A couple of lines of code in Header_inc?

Edited by - Specfiction on 06 July 2007 16:50:41
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 07 July 2007 :  16:11:37  Show Profile  Visit AnonJr's Homepage
Actually, if I'm understanding the problem right its trying to take Unicode characters and process them as ASCII... you'd probably be better off getting your forum set up to use Unicode - and there is a wonderful tutorial on that over in the Dev (Internationalization) forum.

Just keep in mind this is just a semi-knowledgeable recommendation... character encoding is a little outside of my bailiwick.... though its something I really need to work on getting a better understanding of.

Edit: here's the link - http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64712

Edited by - AnonJr on 07 July 2007 16:14:31
Go to Top of Page

Specfiction
Starting Member

17 Posts

Posted - 09 July 2007 :  12:07:27  Show Profile
No, it's the opposite. Most editors use Ascii, most new web-centric apps use Unicode. Ascii is one byte encoding, Unicode is two byte encoding--you get more charaters. FireFox defaults to Unicode (I'm sure the next version will sense the text and use appropriate encoding to display, IE does this right now--your own previewer defaults to Ascii. Question: can we add a couple of lines to the .asp that displays forum topics, or to something like header_inc.asp that "tells" the browers to display the text in ascii?
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 27 July 2007 :  11:51:57  Show Profile  Visit bobby131313's Homepage


So I opened up Word and typed in the 2 different double quotes and the single quote. Pasted each one into the bad word filter and set their replacements to the normal straight ones.

It works! It converts them all, at least on my server.


Switch the order of your title tags
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 27 July 2007 :  13:15:37  Show Profile
There are two areas that you need to look at for encoding/charset support - or rendering your forums properly with particular locale language/texts.

1) Encoding/Charset settings of your Forum itself
2) Browser encoding/charset settings and selection (IE, Firefox, etc.)

For 1), out of box Snitz comes with pre-defined encoding/chaset setting support for ISO8859-1, ala Latin-1 group, Western European character sets, including a Forum default US English, LCID=1033.
This defines how texts of web pages are to be rendered/displayed in a browser. You can see this definition in config.asp at the top.

If you are using Forum codes with resource files (a la language files, extracted from the source forum codes and extracted text strings defined in a separate language file), you additional definition of the language files with proper encoding/character sets for the language is required. Default, as extracted from the codes, will remain the original encoding/charsets defined, per above.

If you are to set your forum encoding with other than ISO-8859-1, you have to set it to other ISO encoding formats, if you are to use ISO charset groups other than ISO-8859-1. If you use any non-ISO
8859-1 character types in your forum contents, it may not render properly if your default is set to 8859-1, this is because 8859-1 is the base charset group and all other ISO groups have extended character sets/symbols not supported in 8859-1, thus results in white box or other funny representation (a la corrupted charsets).
This happens when you have an incompatible character set set to your forum vs. charset display in your browser. An example of this is mentioned also in this thread, i.e. unicode charsets displayed in ISO-8859-1 environment or vice versa.

If your forum default encoding is to be set to Unicode, you have to set the default encoding format to Unicode (esp. UTF-8).

This is to do with formatting your data with particular encoding/character sets in your database.

This allows to define forum contents to be rendered in a prefered encoding format.

Once the above is defined, you can choose how to display your forum contents with particular encoding in a selected browser with that encoding/character set.

For 2), you can either set your browser encoding/character default preference or use language/characterset selection to display your forum properly. This has to do with presentation of your data in your web.

There are additional and "minor" presentation item which is "fonts" - a particular style of text and size. But this is a small customization issue for showing particular texts in certain styles.



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.52 seconds. Powered By: Snitz Forums 2000 Version 3.4.07