Re: Filesystem Encoding

From: Markus Scherer (markus.scherer@jtcsv.com)
Date: Wed Jul 10 2002 - 16:40:55 EDT


Doug Ewell wrote:

> Not sure if this is relevant to your specific case, bit I still use the
> command prompt ("MS-DOS Prompt") a lot ...

Interesting. I just tried the following:

Windows 2000. New text document with Notepad, arbitrary contents.
Save as <AC06 0436>.txt (Hangul letter + Cyrillic small zhe + .txt),
Set encoding to "Unicode" (UTF-16 with BOM in little-endian).

Open command prompt window, go to that folder.
"chcp 10000" to set the window to use UTF-16, select Lucida Console font.
dir *.txt shows the filename with Hangul as a box and the zhe nicely like in the Character Map.

Copy the filename from the prompt window, paste back in after "type ".
Shows the contents of the file with characters according to what the font can do.

Able to copy/paste Unicode text from Notepad to command prompt and vice versa.

In my opinion, this is fairly good, especially considering that it is not the main Windows UI.

markus



This archive was generated by hypermail 2.1.2 : Wed Jul 10 2002 - 15:10:17 EDT