How can I configure the command prompt to output to files in UNICODE/ANSI?

A. Windows NT/2000 includes full UNICODE support and its possible to configure a CMD.EXE session to output in UNICODE or ANSI (ANSI being the default)

To set this when starting the CMD.EXE session just add:

  • /A - Output to files or pipes will be in ANSI
  • /U - Output to files or pipes will be in Unicode

For example

cmd.exe /u

would start a session in UNICODE output mode.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish