Filenames again

Kenji Kojima index at kenjikojima.com
Wed Jan 16 16:34:36 EST 2008


Randall,

The first line was shell command got list names of files in working  
directory. You got UTF8 filenames. Then it's converted to UTF16 and  
set the test field 1.

OSX 10.5.1 ENGLISH and Rev 2.8.1.
--
Kenji Kojima
RGB MusicLab: Pixels into Music
http://www.kenjikojima.com/rgbmusiclab/


On Jan 16, 2008, at 3:55 PM, Randall Lee Reetz wrote:

> Kenji,
>
> Will you please explain your solution.  I don't understand what is  
> happening and how "it works.
>
> Thanks,
>
> Randall
>
> On Jan 16, 2008, at 12:51 PM, Kenji Kojima wrote:
>
>> Hi Mark,
>>
>> This is the way you can get Japanese filenames.
>>
>> put "cd ~/Desktop" &cr& "ls" into tScript
>> set the unicodeText of fld 1 to uniencode(shell(tScript),utf8)
>>
>> --
>> Kenji Kojima
>> RGB MusicLab: Pixels into Music
>> http://www.kenjikojima.com/rgbmusiclab/
>>
>>
>>
>> On Jan 16, 2008, at 2:56 PM, Mark Smith wrote:
>>
>>> You're probably right, but my English system is having to deal  
>>> with a non-english file, and Rev is failing miserably, though the  
>>> finder and other apps seem to be ok with it....
>>>
>>> Sadly, it seems lke I can't even get round it using shell  
>>> commands, since Rev also fails to cope with the type of UTF-8 that  
>>> the OS uses (combining diacriticals).... :(
>>>
>>> Best,
>>>
>>> Mark
>>>
>>> On 16 Jan 2008, at 19:50, Randall Lee Reetz wrote:
>>>
>>>> I am waiting for heavier geeks to weigh in here... but isn't it  
>>>> that the localization of the OS (which language you signed in as)  
>>>> what makes the File System char set aware?
>>>>
>>>> Randall
>>>>
>>>> On Jan 16, 2008, at 10:45 AM, Mark Smith wrote:
>>>>
>>>>> Andre, I think that's my only hope...much as I really hate  
>>>>> Applescript!
>>>>> It does seem incredible that Revolution just can't do it.
>>>>> How do people in Japan and Russia deal with it? Maybe they just  
>>>>> don't use Revoluton. :(
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Mark
>>>>>
>>>>> On 16 Jan 2008, at 17:52, Andre Garzia wrote:
>>>>>
>>>>>> Is this an application just for you, or you plan to distribute  
>>>>>> it ?
>>>>>>
>>>>>> If it's just for you, then, you can try to hack your file  
>>>>>> access using
>>>>>> AppleScript, maybe it has a better unicode support.
>>>>>>
>>>>>> Andre
>>>>>>
>>>>>> On 1/16/08, Mark Smith <mark at maseurope.net> wrote:
>>>>>>> Hi all, I'm once again trying to deal with unicode and filenames
>>>>>>> again...
>>>>>>>
>>>>>>> This is on OS X.
>>>>>>>
>>>>>>> If I have a file that has a Japanese name:  "音楽ファイル
>>>>>>> を.mp3" (I wonder if that'll come out ok in everyone's  
>>>>>>> mail!), it
>>>>>>> seems to be the case that this file effectively does not exist  
>>>>>>> in any
>>>>>>> useful way for Revolution. It is not listed in 'the files',  
>>>>>>> it's name
>>>>>>> is omitted from 'the detailed files', it can't be opened,  
>>>>>>> copied or
>>>>>>> renamed. The finder seems to have no problem with it. Can anyone
>>>>>>> confirm this so I can abandon my current project before I've  
>>>>>>> torn all
>>>>>>> of my hair out?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Mark_______________________________________________
>>>>>>> use-revolution mailing list
>>>>>>> use-revolution at lists.runrev.com
>>>>>>> Please visit this url to subscribe, unsubscribe and manage  
>>>>>>> your subscription preferences:
>>>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> http://www.andregarzia.com All We Do Is Code.
>>>>>> _______________________________________________
>>>>>> use-revolution mailing list
>>>>>> use-revolution at lists.runrev.com
>>>>>> Please visit this url to subscribe, unsubscribe and manage your  
>>>>>> subscription preferences:
>>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>>>
>>>>> _______________________________________________
>>>>> use-revolution mailing list
>>>>> use-revolution at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your  
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>>>
>>>>
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your  
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your  
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution










More information about the use-livecode mailing list