Welcome Guest. Please Login or Register. Apr 5th, 2018, 10:37pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Paste Unicode utility
« Thread started on: Apr 2nd, 2010, 09:57am »
BBC BASIC for Windows provides native support for the Unicode Basic Multilingual Plane, using UTF-8 encoding. UTF-8 text may be incorporated in BB4W programs as constant strings or in DATA statements, although it won't display correctly in the editor. However, getting such text into a program is not straightforward!
I have written a new add-in utility which implements a Paste Unicode facility. Using that utility you can simply copy foreign language text (in any alphabet) onto the clipboard, for example directly from a web page or a Word document, and then paste it into a BB4W program as UTF-8:
Just as when pasting ANSI text, you should always type the initial quote character, or the DATA, before pasting the text to avoid high-bit-set characters being interpreted as keywords.
This utility requires version 5.91a of BB4W, because it relies on the revised (standard) behaviour of the EM_REPLACESEL message.