lsakizada Posted March 8, 2011 Share Posted March 8, 2011 (edited) I do not know whether this question asked before. On my system, I have a files without extension that are localized with japanese chars(on native english xp) when calling to FileExists($Path)function the return is always 0 (zero). What am I doing wrong? for example: $Path ="c:\Windows\"??????`粑粐`粑??A If FileExists($Path) = 0 Then consolewrite("Error: " & "THIS LINE SHOULD NOT BE WRITTEN SINCE THE PATH EXIST" & @LF) EndIf Edited March 8, 2011 by lsakizada Be Green Now or Never (BGNN)! Link to comment Share on other sites More sharing options...
lsakizada Posted March 8, 2011 Author Share Posted March 8, 2011 (edited) If there anything to do with my code, I would like to be more precise, I write the path into UTF sqlite database Read the Path from sqlite database into array Only then I use the path with FileExist I tested the path in message box function and the display of the path was OK. If FileExists($aResult[$i][5]) = 0 Then MsgBox(0,0,$aResult[$i][5]) ConsoleWrite("Error=" &$aResult[$i][5] & @LF) EndIf Edited March 8, 2011 by lsakizada Be Green Now or Never (BGNN)! Link to comment Share on other sites More sharing options...
lsakizada Posted March 8, 2011 Author Share Posted March 8, 2011 (edited) Hi, Looks like the files that I am testing has some sort of problems, i do not know what. Basic tests with japanese and latine1 accents files/folders are working. So please ignore my post anyway. Regards... Edited March 8, 2011 by lsakizada Be Green Now or Never (BGNN)! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now