c++.windows.32-bits - shell & ansi files
- Robert M. Münch (20/20) Jul 05 2002 Hi, I hope someone can help me with this bit OT stuff.
Hi, I hope someone can help me with this bit OT stuff. I want to use aspell to check some text files I wrote with an editor in windows. Because of this the file uses the ANSI charmapping for special characters like ä,ö and ü. The windows shell uses the OEM character mapping. The result is that my windows text files can't be checked with aspell as this is a shell program. Here are some things I came up with up to yet but it's not perfect: - Get a shell that uses ANSI mapping. Will this help or are the C runtime functions working with OEM as well? - recompile aspell so that uses ANSI instead of OEM. Is this possible? Do I need to create a Win32 app out of it? - use a filter to conver the windows text-file on the fly to OEM mapping. Might work but how do I recognize a windows created text file? Is there any elegant solution to this problem? Thanks a lot. -- Robert M. Münch IT & Management Freelancer Mobile: +49 (0)177 2452 802 Fax : +49 (0)721 8408 9112 Web : http://www.robertmuench.de
Jul 05 2002