How can I convert a Unicode file to text?

A. Windows 2000 is Unicode based, meaning that two bytes are used for each character. However, certain text utilities may not understand Unicode, so if you want to create a one-byte-per-character version, type the following command:

C:\> type \[unicode file name\] > \[text file name\]

For example, you would type the following command to convert file unicode.txt to a standard text file named file.txt:

C:\> type unicode.txt > file.txt

The type command performs the conversion. It is useful if you're dumping out registry keys from regedit.exe, which writes out in Unicode format.

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