Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ASCII encoding in WordPad

 
Yuan Ye
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, all
I am using Windows WordPad to write my choices.txt, which is supposed to be pure ASCII file. I am using the option of "Save as: Text Documents". Is that OK? Would the underlying encoding be "ASCII"? Or should I use the option of "Save as: Text Documents -- MS-Dos Format"? What's the difference? Please give me some suggestion. Thanks.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using Windows WordPad to write my choices.txt, which is supposed to be pure ASCII file.

Personally, I prefer Notepad than Wordpad becos Notepad does not support any formatting, while Wordpad does (Bold, Italic, alignment etc).

I am using the option of "Save as: Text Documents". Is that OK? Would the underlying encoding be "ASCII"? Or should I use the option of "Save as: Text Documents -- MS-Dos Format"?

For Notepad, I just save it as .txt file.
I guess you can do the same.

What's the difference? Please give me some suggestion.

The difference is Wordpad indeed supports formatting, thus, it may not be pure ASCII. Although you can save it in pure ASCII, and the formats are all removed, you may not know the effect (or appearance) after those removed.
So, for safety, you need to double check it using a Notepad, or VI editor under Linux environment to make sure there is no problem encountered.
Nick.
 
Yuan Ye
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, Nick.
Thanks for your suggestion. I am using NotePad now. But there is still a problem while saving. There's no ASCII encoding option when I save it as a text file. The only choices are "ANSI", "UNICODE", "UNICODE-Big ending" and "UTF-8". To ensure the ASCII encoding, which one should I choose? Thanks.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The only choices are "ANSI", "UNICODE", "UNICODE-Big ending" and "UTF-8". To ensure the ASCII encoding, which one should I choose? Thanks.[/QB]

You can save it as ANSI.
Nick.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic