in reply to char2oem

I've got a linux database full of this ANSI-char's and I want to convert them for a DOS program

You might also just change the code page used in the Console window to match what the program's generating.

Thta's SetConsoleCP and SetConsoleOutputCP in the Win32 API.

—John