On 07/26/2014 07:44 AM, Klaus major-k wrote:
Hi friends,
i am currently using some shell commands, mainly "mdfind", to get a list of
files.
But german UMLAUTS etc. are not correctly displayed.
i thought the shell output would be UTF8, but unidecode(listoffiles) produces
lots of glibberish 8-)
-> Grabber fuÃàr Anyone.rtf
should of course be:
-> Grabber für Anyone.rtf
This even happens with LC 7dp7, but shouldn't right?
Anyway, what can I do win LC 6.6.2?
Any hints very appreciated!
Best
Klaus
--
In LiveCode 7 try something like:
put textDecode(shell("myCommand"),"utf-8")
Works for me retrieving data from shell in Linux.
Warren
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode