Fabian Maurer dark.shadow4@web.de wrote:
Please keep the application unicode, otherwise it won't work for utf-8 input and not proper ANSI code page (like en_US.UTF-8 locale and cyrillic string to find).
Just tested cyrillic, it works in wine - but on windows it doesn't work. Or maybe I'm testing it wrong... Also, windows find.exe doesn't like unicode at all, utf-8 works though. Not sure how to deal with that, suggestions?
If you keep wmain() everything should start working automatically, there is no need for any special efforts.