mIRC Home    About    Download    Register    News    Help

Print Thread
$cb(1,u) not returning utf8 encoded text #261638
31/10/17 08:19 PM
31/10/17 08:19 PM
Joined: Jul 2006
Posts: 3,515
France
W
Wims Offline OP
Planetary brain
Wims  Offline OP
Planetary brain
W

Joined: Jul 2006
Posts: 3,515
France
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.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: $cb(1,u) not returning utf8 encoded text [Re: Wims] #261639
01/11/17 06:46 AM
01/11/17 06:46 AM
Joined: Dec 2002
Posts: 4,449
London, UK
Khaled Offline

Planetary brain
Khaled  Offline

Planetary brain

Joined: Dec 2002
Posts: 4,449
London, UK
Thanks for your bug report. This issue has been fixed for the next version.