Writing ANSI ESC code 27 to text file?
I want to store my MUD welcome page in a text file, but when I try to embed the ANSI color codes into the text file, NOTEPAD keeps saying that now it's a Unicode file and won't save it as ANSI without stripping the very character I need. I am using the keys (Alt-keypad-27) to insert the ESC character manually in notepad, but notepad ends up saving that character as "8592" which is the Unicode left arrow character. Theoretically, I am not in Unicode realm by saving this character in the file, but notepad seems to think so. Anyone know how to correctly write this required character to the text file, without code to do it? cheers! Adam
Original message headers
X-Google-Thread: f996b,6ee7e06738d7e023,start X-Google-Attributes: gidf996b,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 26 Nov 2004 18:16:17 -0600 From: "AdamM" <nos...@nospam.com> Newsgroups: alt.ascii-art Subject: Writing ANSI ESC code 27 to text file? Date: Fri, 26 Nov 2004 16:16:27 -0800 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: <WY6...@comcast.com> Lines: 18 NNTP-Posting-Host: 24.16.82.61 X-Trace: sv3-g5PII831b4SeG14LL+rJBkdT/TZl/i9vTjIaNyGpdF5RARcaCglB9iDVOXlc4OoUvo1mUSvj0jVIxuf!BYCXa5jUPJT0p6mZBzRik49do5q/prLmgJx9tUFWO3HjQjtEy+lEyfiSr+s= X-Complaints-To: abu...@comcast.net X-DMCA-Complaints-To: dmc...@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.20 Xref: g2news1.google.com alt.ascii-art:2102
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2004 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.