mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 35
Ameglian cow
OP Offline
Ameglian cow
Joined: Jun 2007
Posts: 35
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

Last edited by alephresh; 04/09/07 06:34 AM.

Desired: right alignment of text; consecutive spaces in /command args; Ctrl+A in custom dialogs.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2002
Posts: 5,428
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,428
Thanks this has been fixed for the next version.


Link Copied to Clipboard