| Author |
ASCII encoding in WordPad
|
Yuan Ye
Ranch Hand
Joined: Mar 05, 2003
Posts: 172
|
|
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
Joined: Nov 07, 2003
Posts: 4982
|
|
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.
|
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
|
 |
Yuan Ye
Ranch Hand
Joined: Mar 05, 2003
Posts: 172
|
|
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
Joined: Nov 07, 2003
Posts: 4982
|
|
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.
|
 |
 |
|
|
subject: ASCII encoding in WordPad
|
|
|