brahma at hindu.org
Sat May 11 19:45:40 EDT 2019
I have got a 'associated' error with the browser in Android.
If a web page in not available it will provide an ugly error message on android
(I get the text tomorrow) and the UI is frozen. I don't know. They could be related...
On 5/10/19, 11:14 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
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
> 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
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode