mIRC Homepage
Posted By: alephresh Can't copy Unicode in custom windows - 04/09/07 05:01 AM
Edit: echo -s instead of echo -a. Oops.

Note sure if this has been reported, but:

Code:
//var %abc = $+($chr(206),$chr(177),$chr(206),$chr(178),$chr(206),$chr(179)) | window @test | echo @test %abc | echo -s %abc

The six bytes are alpha, beta and gamma in UTF-8. They display correctly both in @test and in the status window, but they don't get copied to clipboard as Unicode in @test. (I see them as one-byte-character junk when pasting in mIRC editboxes or Notepad.)

I have UTF-8 display, multibyte display, multibyte editbox. It copies fine from the status window.


Two other Unicode things that hurt some of my scripts:

Thanks. smile
Posted By: argv0 Re: Can't copy Unicode in custom windows - 04/09/07 08:34 AM
I wonder if Khaled is using SetClipboardData with CF_UNICODETEXT set when the multibyte display is turned on, and the same for GetClipboardData when the multibyte editbox is turned on
Posted By: Khaled Re: Can't copy Unicode in custom windows - 05/09/07 12:33 PM
Thanks this has been fixed for the next version.
© mIRC Discussion Forums