How can I convert a Unicode file to text?

John Savill

September 10, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like