FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HB_UTF8ToStr
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
HB_UTF8ToStr
Posted: Sat Apr 07, 2018 06:02 AM

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 ?

Continue the discussion