Hi,
I am having a script showing things the way I like it.

For example: Nickname shows like this <<NiGHtOwL>>

Now, since mIRC is able to dosplay UTF8, it does, but without my short script. When I am loading my script, then UTF8 won't be shown. That means that others who write in UTF8 in the Channel and as soon they are writing german vowels like AE UE OE (forum doesn't display it either) it will be displayed like A 1/3 or similar.

I tried to fix that myself by adding $utfdecode to my script.
This works so far, but I am receiving error messages:

Invalid parameters: $utfdecode

So something must be wrong. I looked up a lot of things but utfdecode and utfencode aren't documented yet. Nothing in the help file as well. I am using the newest version of mIRC 6.35

Here is the code I changed:

Code:
;B e f o r e

on ^*:TEXT:*:*:{
  var %nick = $iif($chan,$left($remove($nick($chan,$nick).pnick,$nick),1) $+ $nick,$nick)
  var %window = $iif($chan,$chan,$nick)
  echo -tmi2 %window 00 $+ %nick $+ 0 $1-
  haltdef
}


;A f t e r
on ^*:TEXT:*:*:{
  var %nick = $iif($chan,$left($remove($nick($chan,$nick).pnick,$nick),1) $+ $nick,$nick)
  var %window = $iif($chan,$chan,$nick)
  echo -tmi2 %window 00 $+ %nick $+ 0 $utfdecode($1-)
  haltdef
}


When someone writes ae oe ue (with the dots above) now, I am able to read it but the Nickname is no longer displayed the way I wanted it to be.

Can someone tell me what and how to do it right and no error messages turn up?

Thanks in advance


gr33tz
NiGHtOwL