TSNet hanging

Ralph DiMola rdimola at evergreeninfo.net
Sun May 12 00:19:46 EDT 2019


Now that you come to mention it... I had a PDF that did that once like 2 years ago. By the time I started looking into it the PDF was updated and I haven't seen that hang/crash since. I'm using "binfile". I wonder what combination of characters would give a binary transfer heart failure?

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode
Sent: Friday, May 10, 2019 4:04 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: TSNet hanging

I have one particular file downloading from a server that hangs TSNet and freezes the IDE. It hangs on mobile too. In both, it requires a force-quit to get out. A similar file from another set loads without issues.

The files are saved in UTF8 with Mac carriage returns. They are not compressed. I textDecode them and replace the returns with LF. The file that fails has some weird characters that don't translate correctly using textDecode(<chars>,"UTF8"). Firefox has no problem getting the file and displaying it as text, but does show the strange characters. 
The same file opened in BBEdit doesn't have a problem, the characters are translated as curly quotes.

I don't know if these will come through on the list, but here are examples:

   “interlude.”  -- beginning and ending curly quotes
   name’ -- single curly quote

Would these hang a download? It's the only difference I can find between the one that works (no quotes at all) and this one.

BTW, after textDecoding, LC throws an errors for codepointToNum on the second example ("error in expression"), and says the curly quotes in the first example are either 0 or 1770 (an Arabic glyph.)

I'll ask the client to upload a zip file and see if that will download, but I don't think LC will translate the characters correctly anyway. If it helps, the original files were exported from FileMaker.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


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





More information about the Use-livecode mailing list