At 12:10 PM -0700 7/16/06, Tim Jones wrote:
What's the text encoding of obj.text?
MacRoman (I've even made an explicit DefineEncoding call)
Are you sure the original string is in MacRoman, otherwise it's
dangerous to use Define Encoding. I thought most modern OSX calls
used either UTF16 or UTF8. Maybe RB isn't converting the text
encoding properly.
Have you tried assigning obj.text to a local string variable and
then use that in GetFolderitem? Maybe there's something funny with
the obj.text accessor when used directly as a parameter.
This will be my next test - thanks as I'd not considered that.
It shouldn't make a difference, but when working with odd problems
sometimes it pays to be paranoid and check everything. :-)
Have you tried testing with that path as a literal string constant
just to understand whether the problem is related to the path
itself or the fact that it's arriving in obj.text?
Yes - this I have done.
Literal strings in RB have a UTF-8 encoding. If the listeral string
works then it may be an encoding issue. Try Converting the encoding
of the obj.text string to UTF-8 instead of MacRoman. RB usually
converts automaticaly when needed but maybe the missed this case.
Hope this helps,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>