TSNet hanging
J. Landman Gay
jacque at hyperactivesw.com
Fri May 10 17:13:54 EDT 2019
On 5/10/19 3:04 PM, J. Landman Gay via use-livecode wrote:
> 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.
>
Update: the error is because there are actually three codepoints. When I
decode them individually I get what came through on the list:
226 - 8364 - 339
Latin Small Letter A With Circumflex - Euro Sign - Latin Small Ligature Oe
Which still isn't a curly quote.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list