mIRC Home    About    Download    Register    News    Help

Print Thread
$strip bug for multibyte characters #18614 09/04/03 05:02 AM
Joined: Dec 2002
Posts: 18
L
Lodd Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 18
If I enabled "Multibyte characters"
sometime $strip can not strip control codes.

eg. I typed
//echo -a $strip($+(13, $chr(176), $chr(161), $chr(176), $chr(161), 9ABCDEFG))
However, the ABCDEFG is Green

Last edited by Lodd; 09/04/03 05:10 AM.
Re: $strip bug for multibyte characters #18615 09/04/03 06:30 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Couldn't reproduce..what color do you have "Normal text" set to in the colours dialog? System specs?

Re: $strip bug for multibyte characters #18616 09/04/03 07:59 AM
Joined: Dec 2002
Posts: 18
L
Lodd Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 18
I set the Normal text black.
And in my mIRC, half of the string is black(the purple color striped) and the other half of the string is green(not striped)

have you Enbale the multibyte characters (at IRC->messages of the option)?

Re: $strip bug for multibyte characters #18617 09/04/03 08:01 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Yes.

Re: $strip bug for multibyte characters #18618 09/04/03 08:08 AM
Joined: Dec 2002
Posts: 18
L
Lodd Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 18

Re: $strip bug for multibyte characters #18619 09/04/03 08:14 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
What Font + Script (I mean the Western/Turkish/etc., not Remote scripts) are you using? Maybe that has an effect.

Re: $strip bug for multibyte characters #18620 09/04/03 08:20 AM
Joined: Dec 2002
Posts: 18
L
Lodd Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 18
I'm using Chinese, but mIRC supports Chinese very pool frown
I have to write DLL to replace some mIRC command.