Page 1 of 1

HB_UTF8ToStr

Posted: Sat Apr 07, 2018 6:02 am
by Natter
Hi, all !

With cGetFile() I choose the file with the Cyrillic alphabet. cGetFile returns the name of the file as UTF8. To get the name of the file in ANSI and I do OemToAnsi(HB_UTF8ToStr(file_name)). That is all right. But if there are "" symbols in the file name, they are replaced by completely different symbols and I can no longer access the file by this name. What to do ?