Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TEE Umlaut

Jul
2
0
The TEE Command cant handle Umlaut. Show in Command Line:

echo ÄäÖöÜü
ÄäÖöÜü

echo ÄäÖöÜü |tee temp.dat
??????

Whats Wrong ?
 
Well, I'm confused. Those characters all exist in code pages 437, 850, 852, 1250, 1252. There's no problem piping them to TYPE or LIST, but they get lost on the way to TEE if you're using CP437, 850, 852. They do seem to survive if the current code page is 1250 or 1252. I don't get it. Is is possible that TEE is using the Windows/"ANSI" code page instead of the console code page for input? Why do those characters get trashed?

All I know for sure is that I dislike code pages more and more. I wish they would go away altogether. But as long as CMD.EXE compatibility is a selling point, I guess that isn't possible....
 
Back
Top