Alex,

No, LiveCode is hopelessly obsolete when it comes to unicode and interaction 
with other programmes or the operating system. You could try to create your own 
file management system for LiveCode using the shell, AppleScript and VBScript.

LiveCode is the only current cross-platform tool I know of that is unable to do 
this. Even SuperCard, which isn't really unicode compliant, can deal with files 
that have non-ASCII characters in them.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za

On 24 jan 2012, at 19:27, Alex Tweedly wrote:

> 
> I'm not sure if this is a LC question, or an OSX question, or a unicode 
> question, or ... or what.
> 
> I have a folder with funny characters (:-) in its name, and that seems to 
> cause a problem in LC.
> 
> When I do 'ls' in terminal, I get
>> Björg Þórhallsdóttir
> I cannot copy/paste this into a LC script using the script editor, but 
> copy/pasting it into a text file, and then reading that (as a binfile) shows 
> that the characters are
> 
> B j ˆ r g fi Û r h a l l s d Û t t i r
> 66 106 246 114 103 32 222 243 114 104 97 108 108 115 100 243 116 116 105 114 
> 10
> 
> However, in LC if I do
> put the folders into myVar
> 
> what I get is
> 
> 66 106 154 114 103 32 63 151 114 104 97 108 108 115 100 151 116 116 105 114
> 
> i.e. instead of
> 246 I get 154
> 243 I get 151
> 222 I get 63
> 
> and (naturally) I cannot then do "set the defaultfolder to line 2 of myVar"
> 
> So - is there anything I can do to get around this ?
> 
> Thanks
> -- Alex.



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to