Cyrillic in cFilePath()

Cyrillic in cFilePath()

Postby Natter » Fri Mar 04, 2016 8:19 am

There are a string of path+file name. Get the path from this string cFilePath(). If any If any path element consists of Cyrillic characters, it becomes unreadable !


FWH 1602
Natter
 
Posts: 1210
Joined: Mon May 14, 2007 9:49 am

Re: Cyrillic in cFilePath()

Postby nageswaragunupudi » Fri Mar 04, 2016 12:10 pm

We can improve FWH functions to deal with Unicode file paths and file names and we are at it.
If you use Harbour, and set HB_SETCODEPAGE( "UTF8" ), then also all file related functions of Harbour work with unicode language file names and file paths. I tested and I am sure of this. This should work with your language too.
xHarbour does not support this.

If you insist of using xHarbour, stick to english (or latin) file names and file paths. Or use Harbour if you want to use Cyrillic file names and folder names.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 87 guests