CClipboard and Special Characters

View: New views
1 Messages — Rating Filter:   Alert me  

CClipboard and Special Characters

by Liz Wendland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've noticed a difference between how the Clipboard and CClipboard
classes behave and it is causing me some trouble.  I would like to paste
the word "Nyíregyháza" into a Text area.  In morphic I see that
Clipboard takes the string then decodes it:
Clipboard>>clipboardText:
    <snip>
    decodedString := self interpreter fromSystemClipboard: string.

But the Tweak class CClipboard skips this step.  That means that my word
doesn't have the nicely accented i and a.  Is there something else I
should be doing to prepare my clipboard for special characters?

Thanks!
Liz Wendland

--
Liz Wendland            Java and Web Services/ADCS
liz@...    University of Minnesota, Mpls
(Phone) 612 626 0544    190 Shepherd Labs

_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak