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)
 international characters
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

gpspassion
Junior Member

260 Posts

Posted - 13 January 2008 :  15:45:55  Show Profile  Visit gpspassion's Homepage
I wonder if I'm not goint to try <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> instead as the sessin code has messed up my RSS feed, let's see.

Having some problems adding <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> in inc_header.asp though as the only <head> is here

	Response.Write	"<html>" & vbNewLine & _
			"<head>" & vbNewline & _
			"<title>" & strForumTitle & "</title>" & vbNewline


Should it be :

Response.Write	"<html>" & vbNewLine & _
			"<head>" & vbNewline & _
			"<title>" & strForumTitle & "</title>" &
%> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <%

<hr>Nope, not working, either I can get forum display ok in Firefox and not RSS or my Mobile version or the other way around :-(

Edited by - gpspassion on 13 January 2008 16:02:05
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 13 January 2008 :  16:43:08  Show Profile
If you wanted to do the above way you would need to take the ending & off so

			"<title>" & strForumTitle & "</title>"
%> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <%

or you could include the line in the code as

			"<title>" & strForumTitle & "</title>" & vbNewline & _
			"<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" />" & vbNewline & _

Also the meta isn't necessary as the HTTP header overrides it. Higher level languages take precedence.
Edit: Added code tags to preserve spacing.

Edited by - phy1729 on 13 January 2008 16:45:09
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 13 January 2008 :  16:49:59  Show Profile
Haven't looked at inc_header.asp for sometime, but lines 223~225 are:

Response.Write	"<html>" & vbNewline & vbNewline & _
		"<head>" & vbNewline & _
		"<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline


What done in the past to include a meta tag above "<title>" line, if I remember correctly, as it affects also Title texts.

(phy1729's second codes to swap the order there. Ensure to make & _ added to the meta tag line, and close title line as is in the source.

Edited by - TSAloha on 13 January 2008 16:55:13
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 13 January 2008 :  17:46:53  Show Profile
Taku, seeing that you're the resident expert, is the meta even necessary?
Go to Top of Page

TSAloha
Junior Member

USA
151 Posts

Posted - 13 January 2008 :  19:25:09  Show Profile
First, am totally emabarrassed by Rui's overstatement. Gee, seems like I got a new role in Snitz.. not really deserving.

Well, no. That's what I mentioned above. You are correct that meta is not even necessary. All V3406 unicoded versions that I am running - V3406 base, localized, both with Mods, and internationalized - don't touch anything else but config.asp.

As long as Session.Codepage and Response.Charset are defined in config.asp above Session.LCID, all is good.
Even Session.LCID = 1033 is not really necessary and can be commented out, which I do with all my test forums, as LCID is important for ISO charsets but not for unicode, or utf-8 (which is also important for email MIME compatibility).

Please: am not a resident expert of any, just a user who had been playing with unicode versions since V3.3.03 (with 3 years of absense till v3.4.06).

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 January 2008 :  19:50:18  Show Profile  Send ruirib a Yahoo! Message
Well, Taku has a lot of experience working with unicode versions. If you visit this forum, it's all Taku's doing. He had a multilingual version 4.0 beta forum before and helped test and develop Snitz 4.04 version, which never went past the alpha state, but was the Snitz version that had the most support for localization and internationalization.

So, Taku is the person I know who has the most experience with this type of issues, and even with some time of absence, he has dealt with it for quite a few years. That's all I said and it's all true .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 13 January 2008 :  20:13:23  Show Profile
expert person that knows more than me on topics of utf-8
Too many words, expert is easier on my fingers .
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 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 1.98 seconds. Powered By: Snitz Forums 2000 Version 3.4.07