On Feb 19, 2007, at 09:29 UTC, Michael Gerbes wrote: > A quick follow-up question: > > Converting from the Folderitem to the shellpath: > > (source as folderitem) > > dim s, sneu as string > s = source.ShellPath.ConvertEncoding(Encodings.UTF8) > > for i as integer = 0 to lenb(s) > dim t as integer = midb(s,i,1).ascb > if t > 127 then > sneu = sneu + "\"+Oct(t) > else > sneu = sneu + midb(s,i,1) > end if > next > > I am obviously doing something wrong here, because the shell is still > not recognizing this path...
I wouldn't expect this to do anything, because ShellPath already has any non-ASCII characters encoded in octal, doesn't it? Your code would seem to be attempting to do this again, which wouldn't have any effect. But I also don't understand why you're trying to do this... the shell should recognize a .ShellPath without any alteration, that being the whole point of ShellPath. The only caveat is that different shells may have different standards for handling non-ASCII characters. I believe Jon Johnson posted something about this not too long ago, but I'm afraid I didn't really pay attention as it's not an issue I've run into myself. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
