Bug: alias as Unicode text
Bug: alias as Unicode text
- Subject: Bug: alias as Unicode text
- From: jj <email@hidden>
- Date: Thu, 02 Jun 2005 22:47:08 +0200
ABSTRACT
The folder contained in the download posted below will make this code break:
- - - - - - - - - - - - - - - - - - - - -
set dirWithUnicodeName to (choose folder)
dirWithUnicodeName as Unicode text
- - - - - - - - - - - - - - - - - - - - -
Related thread:
################################################################
>>> Umm, any reason you're not just using:
>>>
>>> someDir as Unicode text
>>
>> I tried, but it doesn't work... Perhaps I'm using as example some kind of
>> "very strange" characters?
>>
>> Check it here, please:
>>
>> http://homepage.mac.com/julifos/archivos/unicodethings.dmg
>>
>> (this dmg contains a folder whose name breaks the code, 32 Kb)
>
> Yup, should do... but doesn't. Looks like bugs in AppleScript's coercion
> routines. Might want to file a bug report on that. Anyway, use the POSIX
> path-based approach I showed earlier; it's not affected by this bug and is
> more reliable than mucking with HFS paths anyhow.
################################################################
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden