BBC BASIC for Windows
« Paste Unicode utility »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:58pm



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.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Paste Unicode utility  (Read 822 times)
admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx 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:

http://groups.yahoo.com/group/bb4w/files/Tools/Add_Ins/pasteunicode.exe

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.

Richard.
User IP Logged

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

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls