PC Review


Reply
Thread Tools Rate Thread

"Dir >myfile.txt" on command prompt: Umlaute and special chars are NOT written correctly to file?

 
 
Wolfgang Hercker
Guest
Posts: n/a
 
      21st Aug 2006
When I type in a command prompt on a Win2000/WinXP the well known "dir" command
and redirect the output to a file I got a problem.

I have files in the directory with german umlaute (öäü). When the output is shown at the
command prompt (stdout) they are displayed correctly. But when I open the created text file with
the file listing they are not displayed correctly (e.g. in Notepad or other editors).

Why ?

Do I have to switch an option ?

Is there 3rd party tool which is able to write the filenames correctly to the file ?

Wolfgang

 
Reply With Quote
 
 
 
 
=?Utf-8?B?QXVzdGluIE0uIEhvcnN0?=
Guest
Posts: n/a
 
      5th Sep 2006
Type CMD/U and press [Enter]

Now you will be able to output Unicode characters.

Austin M. Horst
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Dir >myfile.txt" on command prompt: Umlaute and special chars are NOT written correctly to file? Wolfgang Hercker Microsoft Windows 2000 CMD Promt 1 5th Sep 2006 03:09 PM
"Dir >myfile.txt" on command prompt: Umlaute and special chars are NOT written correctly to file? Wolfgang Hercker Windows XP General 1 5th Sep 2006 03:09 PM
"Dir >myfile.txt" on command prompt: Umlaute and special chars are NOT written correctly to file? Wolfgang Hercker Windows XP Help 7 5th Sep 2006 03:09 PM
dll registration fails when calling "regsvr32 MyFile.dll" from DOS or run command Avi Microsoft Windows 2000 Registry 1 22nd Sep 2003 02:32 PM
dll registration fails when calling "regsvr32 MyFile.dll" from DOS or run command Avi Microsoft Windows 2000 Registry Archive 2 22nd Sep 2003 02:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.