[futurebasic] Re: [FB] FileName returns zero by two byte characters

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2010 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Wed, 3 Nov 2010 22:17:32 +0000
Yoshiyuki wrote:

> FileName returns zero by the following examples.
> 
> fileName = files$( _FSRefOpen, "TEXT", "", fsRef )
> fileName = files$( _FSRefSave, "", fileName, parentFolderRef )
> 
> I think that fileName contains two byte characters (for instance "Name is 長谷川" like Japanese, Chinese and Korea etc.) of it.
> How are it done not to limit to Japanese and to recognize two byte characters?
> 

I wonder if NavDialog (rather than files$) will do what you want? See Files/NavDialog_Demos in examples.

Bernie