mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
This was working on 6.35, $cb(1,u) with é in the clipboard would properly return the two bytes 195 169, but it returns é on 7.51. $cb(N,u) always seems to return the same value as $cb(N) right now.


Also for convenience, it would be a good idea to extend $cb to allow something like $cb.utf or similar 'property' to get the utf8 encoded text of the full clipboard, otherwise we need to loop over $cb(N,u) and add utf8 encoded $crlf ourselves which isn't that cool.
Getting the length of the full clipboard would also be handy: $cb.len

Last edited by Wims; 31/10/17 09:41 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,412
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,412
Thanks for your bug report. This issue has been fixed for the next version.


Link Copied to Clipboard