Character Set for Win2K and Win 2003
I'm stumped and this appears to be the most appropriate place to post this
question.
I moved my websites from a Win2K server to a Win 2003 server. All the latest
updates have been applied. The problem is on the 2003 server I can no longer
identify and replace carriage-return linefeeds (vbCrLf) on the 2003 server.
Nothing changed in the code and it worked flawlessly on the Win2K machine.
Both machines had Windows installed using the default settings for
practically everything.
The way it worked is a user typed a paragraph in a textarea and submitted
(POST) it. I popped a window to display what they had typed. Since I'm using
some Javascript for the dynamic display I replaced the carriage-return
linefeeds with <br>. However, none of my server side regular-expressions or
client-side Javascript regular expressions will identify the carriage-return
linefeeds so that they can be replaced.
That there is some kind of difference between the servers' character sets
that they use by default. Is this true? If so, how can I change the 2003
server character set or what in the world do you look for to identify
carriage-return linefeed characters?
Any help would be much appreciated.
|