On 8/19/2015 4:12 PM, Peter TB Brett wrote:
On 2015-08-19 22:29, J. Landman Gay wrote:
Thanks very much. The terminal command returns 0 (and BBEdit can
handle the file too) so it seems to be valid. I'll submit a bug
report, I can share the file without any issues.
The following seems to work correctly:
on importLanguage
local tFile
answer file "Choose the language file"
put it into tFile
if tFile is empty then exit to top
open file tFile for "UTF-8" text read
read from file tFile until EOF
put it into tData
-- etc.
end importLanguage
So... I don't suppose I can persuade you to upgrade to LiveCode
Business, can I?
I shouldn't need Business for that, should I? My script uses "get url",
I guess "open file" works differently?
You must have looked at my bug report already, you're using my variable
names. :)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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