mIRC Home    About    Download    Register    News    Help

Print Thread
M
Masterkiller
Masterkiller
M
By Default my mirc uses ANSI character (1 BYTE per character with value of 0 to 255, extended for Bulgarian Language). I need to create a Custom Window that works with UTF-8 without changing the default ANSI character set of the mirc. How can I do that? I looked in the switches of the /window command and didn't find a suitable switch.

Last edited by Masterkiller; 04/09/07 08:16 PM.
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Originally Posted By: Masterkiller
By Default my mirc uses ANSI character (1 BYTE per character with value of 0 to 255, extended for Bulgarian Language). I need to create a Custom Window that works with UTF-8 without changing the default ANSI character set of the mirc. How can I do that? I looked in the switches of the /window command and didn't find a suitable switch.


Well im not too sure about this UTF-8 stuff but I found that if you type //echo -a $utfencode(text) will encode the text in UTF format. Therefore I would maybe suggest to replace the data written to your window with the $utfencode.

M
Masterkiller
Masterkiller
M
Actually the data is multibyte, so $utfdecode will do what I want. Thanks a lot smile


Link Copied to Clipboard