« Pasting from Microsoft Edge »

Welcome Guest. Please Login or Register.
Jan 23rd, 2018, 7:12pm

Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Pasting from Microsoft Edge  (Read 183 times)
Richard Russell

member is offline


Homepage PM

Posts: 692
xx Pasting from Microsoft Edge
« Thread started on: Apr 3rd, 2017, 10:33pm »

As I'm sure many people must have noticed, copying-and-pasting BASIC code, from a web page displayed in Microsoft's Edge browser, often results in a garbled program containing many spurious EVAL keywords.

The explanation for this behaviour is that the token value for EVAL is &A0, which happens to be the ANSI code for a soft space character. Other browsers, including Internet Explorer, sensibly convert soft spaces to hard spaces (code &20) when copying a block of text onto the clipboard, so the problem does not occur.

I'm of the opinion that this behaviour of Edge is a bug, or certainly an unwanted feature, and it would be nice to think it might be fixed at some point, but I'm not hopeful.

User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls