I did a test with this... it seems that the code to resolve the
alias in AppleScript doesn't like
non-latin encoded pathnames.
I think you're right - from dim and distant memory I seem to recall
that AppleScript's '<value> as alias' coercion often doesn't work with
non-ASCII paths, and you have to use an alias specifier, i.e. 'alias
<value>' instead.
(The other common cause of errors is trying to create aliases for non-
existent paths, of course, but I'll assume the OP already checked for
that.)
Anyway, unless the OP is needing to run user-supplied scripts, I'd
suggest ignoring NSAppleScript and just use a Cocoa-Apple event bridge
instead.
For example, here's the objc-appscript version after using ASTranslate
to get an approximate ObjC translation of the original AppleScript's
Finder commands, then tweaking and tidying to suit:
// To create glue: osaglue -o FIGlue -p FI Finder
#import "FIGlue/FIGlue.h"
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];