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

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 accented characters....?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 13 February 2008 :  10:20:01  Show Profile  Visit MarcelG's Homepage
Guys, since today I noticed something on oxle, and it baffles me a bit.
I've got a file where I set some variables depending on the language chosen.
One of the lines in that file says this:
	strSMM1Reply = "Er is één reactie door [user] op [date] om [time]"
Notice the "één" part.
Now, today I notice that a response.write of that value is shown like this:
quote:
Er is n reactie door [user] op [date] om [time]

The é's are simply not shown...also not in the HTML code by the way, so I think I can rule out a browser issue.

I also checked something else ; my 404 page also refuses to show accented characters....:
this url gives the following text:
quote:
It seems you wanted to go to a certain page or file called 'thisfildesnotxist'.

While it should give this:
quote:
It seems you wanted to go to a certain page or file called 'thisfilèdöesnotéxist'.

Any ideas? Can this be a server-setting that has changed? I am pretty sure that previously at least the first symptom was not there...about the 404 issue I'm not sure...

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 13 February 2008 10:22:58

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 February 2008 :  11:24:06  Show Profile  Send ruirib a Yahoo! Message
Are you using utf-8 encoding for the web page? If so, did you save the page in UTF-8 format?


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

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 14 February 2008 :  09:51:05  Show Profile  Visit MarcelG's Homepage
Ehm, I think I'm getting close, but I'm not really sure.
On this page it works: http://oxle.nl

On this page (same code, same database etc) it doesn't: http://oxle.com/index.asp?lang=nl


In both pages the following HTML tag exists:
<META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8">


In config.asp, I start with these lines:
Response.CodePage = 65001
Response.CharSet = "utf-8" 
response.write "<!DOCTYPE html PUBLIC ""-//IETF//DTD HTML 2.0//EN"">" & vbnewline

I think it's narrowed down to index.asp, which is the only page that gives these issues...and that one turns out to have this at the top:
<%@ LANGUAGE="VBSCRIPT" CodePage=65001%>
<%Response.Buffer = True %>
Removed those two lines, and presto: solved.

I'm nto sure what the Response.Buffer = True is all about....will google that one.

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 14 February 2008 09:52:32
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 February 2008 :  10:13:12  Show Profile
quote:
Originally posted by MarcelG
I'm nto sure what the Response.Buffer = True is all about ...
[Link]


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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 February 2008 :  10:14:01  Show Profile  Send ruirib a Yahoo! Message
Response.Buffer won't affect that . It just stores whatever the server outputs instead of returning it immediately.


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

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 February 2008 :  11:29:11  Show Profile  Visit HuwR's Homepage
Response.Buffer controls how the page is rendered to the browser
setting it to true (default for IIS5/6) speeds up page rendering times, it has no other effect as rui said.
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 15 February 2008 :  05:18:00  Show Profile  Visit MarcelG's Homepage
Thanks for the link and the clarification; this line was only in index.asp, the rest of the files doesn't have it, so I'm pretty confident that removing it will not have any other effect.

portfolio - linkshrinker - oxle - twitter
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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07