Real'sHowTo AddThis Feed Button
Custom Search

Convert easily a Unicode file to ASCIITag(s): Misc Prog HowTo


Modern OS (eg.W2K, XP) are 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 an ASCII version, type the following command:

From a DOS shell, type in :

C:\> type [unicode file name] > [text file name]
The type command performs the conversion. The Unicode format is detected from a special two-bytes signature at the beginning of a file ( 0xFF , 0xFE). The conversion includes the mapping af accented characters too.
blog comments powered by Disqus


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2013
[ home ]