Well in IIS6 I couldn't get vB to work at all even using 'ascii' transfer mode. So I wrote something to take care of the CR/LF LF/CR thing. But then it still wasn't reliable on all pages. So on one troublesome page I tried opening and saving it in Wordpad and then poof it worked. (Opening and saving it in notepad made no change.) So I wrote a script to open all my text files in wordpad and save them. I run it on everything i serve on the web including other apps that use PHP else they just don't work right for me. I later realized but didn't investigate that notepad can add a byte order mark that messes things up so it isn't helpful, and sometimes Wordpad saves with a different encoding (ANSI UTF-8, etc) - I think the difference may be encoding but haven't checked.
|