@orgin
Quote:
Could someone provide me with a complete C example where some text is added to the clipboard and some text is read from the clipboard?
For example the Pasteboard::writeSelection() (copies an UTF-8, charset = 106, text to the clipboard) and Pasteboard::plainText() (reads text in UTF-8, ISO-8859-1 or US-ASCII from the clipboard) functions of OWB in
http://www.sand-labs.org/owb/browser/ ... /BCPasteboardAmigaOS4.cppThey copy from/to the 16 bit unicode String class, but that's easy to change.