473,320 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Broken characters from IIS 5 to IIS 6

We have just migrated a pile of ASP-driven content-managed websites
from Win2000/SQL7 to Win2003/SQL2000 and noticed that, on some of
them, certain characters such as the pound sign (£), 66..99 "curly
quotes" and curly apostrophes were appearing as several characters in
the HTML output unless Internet Explorer was forced into "View ->
Encoding -> Unicode"

For example, a £ appeared as "[A-grave]£" and a curly apostrophe as
something with a [TM] in the middle of it.

After much investigation into Unicode, code pages and text vs ntext
command parameters, it turned out to be something very odd with the
source code.

The ASP script is made up of several included ASP files, most
containing a class definition or simple constants.

We found that when one particular include file was removed, characters
appeared as intended.

All the code was stripped from this include file and still its
inclusion caused characters to appear incorrectly.

Eventually, we noticed the "empty" ASP file was in fact 3 bytes long
and opening it up in DOS Edit showed three symbolic characters in the
file [http://www.idaho.uk.net/20040217/funnychars.gif]. Creating a new
text file, copying the code over and replacing the original file
solved the problem of characters wrongly displaying.

These characters were not visible in Notepad, nor any other editor we
tried. We haven't a clue where they came from originally.

What do these characters mean and how can they mess up the rendering
of the page?
Stuart Newton
Idaho Technology Limited
Manchester, UK
Jul 19 '05 #1
0 1582

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Denis S. Otkidach | last post by:
On all platfroms \w matches all unicode letters when used with flag re.UNICODE, but this doesn't work on SuSE 9.2: Python 2.3.4 (#1, Dec 17 2004, 19:56:48) on linux2 Type "help", "copyright",...
12
by: lothar | last post by:
re: 4.2.1 Regular Expression Syntax http://docs.python.org/lib/re-syntax.html *?, +?, ?? Adding "?" after the qualifier makes it perform the match in non-greedy or minimal fashion; as few...
9
by: Jonathan Allen | last post by:
MSDN> "The matching behavior of searchPattern when the extension is exactly three characters long is different from when the extension is more than three characters long. A searchPattern of exactly...
5
by: Ahmad | last post by:
Hi all, I have written a simple c++ app, as I'm still learning c++. The thing works flawlessly on VC++6, but just doesn't work on g++. The transliterate function which causes the problem is...
4
by: Oz | last post by:
This is long. Bear with me, as I will really go through all the convoluted stuff that shows there is a problem with streams (at least when used to redirect stdout). The basic idea is that my...
25
by: Norman Diamond | last post by:
I think the current version of _vsnwprintf_s is broken, in ordinary Windows. I'm not completely sure yet but it looks like this breakage is worse than previously known Windows CE breakage of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.