How to get UTF-8 to work with mIRC: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (as fafnir seemed to miss the point of this section, I made it stand out more.)
m (more tardily understandable I hope)
Line 5: Line 5:
==Displaying UTF-8==
==Displaying UTF-8==


In order to display UTF-8 properly, there are a few settings in the options you need to set. They are located under IRC - Messages, and they are called "UTF-<u>8</u> display", "<u>M</u>ultibyte display" and "Multibyte <u>e</u>ditbox". Make sure they are checked. Also you need to make sure that the "<u>S</u>JIS/JIS conversion" option is unchecked, as this is not ASCII 7-bit compatible. Then press the OK button, and presto, you can now see UTF-8!
In order to display UTF-8 properly, there are a few settings in the options you need to set. They are located under <tt>IRC &rarr; Messages</tt>, and they are called "<tt>UTF-<u>8</u> display</tt>", "<tt><u>M</u>ultibyte display</tt>" and "<tt>Multibyte <u>e</u>ditbox</tt>". Make sure they are checked. Also you need to make sure that the "<tt><u>S</u>JIS/JIS conversion</tt>" option is unchecked, as this is not ASCII 7-bit compatible. Then press the OK button, and presto, you can now see UTF-8!
{{eyecatch|Note:|However you can not send text to others using UTF-8 by just doing this! (see below)}}
{{eyecatch|Note:|However you can not send text to others using UTF-8 by just doing this! (see below)}}


Line 11: Line 11:
==Sending text with UTF-8==
==Sending text with UTF-8==


When it comes to sending text with UTF-8, mIRC is a bit ... odd. You need to consider if every channel you will be sending text to will have UTF-8 enabled clients. (''Note that most clients except mIRC have been UTF-8 enabled for years.'')  
When it comes to sending text with UTF-8, mIRC is a bit ... odd. You need to consider if every channel you will be sending text to will have UTF-8 enabled clients. (''Note that most clients except mIRC have been UTF-8 enabled for years.'') Also, you need to '''make sure you have the Multibyte options set''' from the ''Displaying UTF-8'' section: "<tt>Multibyte display</tt>" and "<tt>Multibyte editbox</tt>" in ''Options dialog'' under <tt>IRC &rarr; Messages</tt>.


* Go to the font window for any channel.
* Go to the font window for any channel.
*#Located either under View -> Fonts...
*#Located either under <tt>View &rarr; Fonts...</tt>
*#or under System-menu -> Fonts... (Note: the system-menu is located in the button in the top left hand corner of a window, i.e. the button you usually double-click to close a window.)
*#or under <tt>System-menu &rarr; Fonts...</tt> (Note: the system-menu is located in the button in the top left hand corner of a window, i.e. the button you usually double-click to close a window.)
* In the UTF-8 list, you should select "'''Display and encode'''" in order to send text as UTF-8. {{eyecatch|IMPORTANT:|THIS IS NOT SET BY DEFAULT!<br>'''YOU NEED TO CHANGE THIS!'''<br><small>The reason is probably so it won't break compatibility with earlier versions of mIRC.</small>}}
* In the UTF-8 list, you should select "'''<tt>Display and encode</tt>'''" in order to send text as UTF-8. {{eyecatch|IMPORTANT:|THIS IS NOT SET BY DEFAULT!<br>'''YOU NEED TO CHANGE THIS!'''<br><small>The reason is probably so it won't break compatibility with earlier versions of mIRC.</small>}}
* If you want to send text as UTF-8 in every channel you should select the checkbox marked "Set as <u>d</u>efault channel font".
* If you want to send text as UTF-8 in every channel you should select the checkbox marked "Set as <u>d</u>efault channel font".
* Then click the "OK" button.
* Then click the "OK" button.

Revision as of 11:44, 27 February 2006

To get UTF-8 working properly with mIRC, you need atleast version 6.17 of mIRC which you can get here: http://www.mirc.com/get.html.

mIRC Options dialog - IRC - Messages section.

Displaying UTF-8

In order to display UTF-8 properly, there are a few settings in the options you need to set. They are located under IRC → Messages, and they are called "UTF-8 display", "Multibyte display" and "Multibyte editbox". Make sure they are checked. Also you need to make sure that the "SJIS/JIS conversion" option is unchecked, as this is not ASCII 7-bit compatible. Then press the OK button, and presto, you can now see UTF-8!

Note: However you can not send text to others using UTF-8 by just doing this! (see below)
mIRC Channel Fonts dialog

Sending text with UTF-8

When it comes to sending text with UTF-8, mIRC is a bit ... odd. You need to consider if every channel you will be sending text to will have UTF-8 enabled clients. (Note that most clients except mIRC have been UTF-8 enabled for years.) Also, you need to make sure you have the Multibyte options set from the Displaying UTF-8 section: "Multibyte display" and "Multibyte editbox" in Options dialog under IRC → Messages.

  • Go to the font window for any channel.
    1. Located either under View → Fonts...
    2. or under System-menu → Fonts... (Note: the system-menu is located in the button in the top left hand corner of a window, i.e. the button you usually double-click to close a window.)
  • In the UTF-8 list, you should select "Display and encode" in order to send text as UTF-8.
IMPORTANT: THIS IS NOT SET BY DEFAULT!
YOU NEED TO CHANGE THIS!
The reason is probably so it won't break compatibility with earlier versions of mIRC.
  • If you want to send text as UTF-8 in every channel you should select the checkbox marked "Set as default channel font".
  • Then click the "OK" button.
Note: After you have done this for your channels, you should do the same thing for your Private Chats.


Advanced selection

You do not need to read this section if you don't feel the need for it.

If you only want to send text as UTF-8 in individual channels, you should leave the checkbox "Set as default channel font" empty.

If however you want to send UTF-8 in most channels, but only in some send text as whatever codepage you have, you should tick the checkbox, and simply change the option in the channels where you don't want to send text as UTF-8.

This means that mIRC allows you to choose what options to use in any and every channel if you need it.

Troubleshooting

  • Q: I have changed all of these settings but I still get strange symbols or empty boxes when someone sends UTF-8 encoded text to me!
  • A: This means you don't use a font that has the characters being used. If you want a font with most unicode characters, use this:
    http://www.lightworker.com/Download/Fonts/ARIALUNI.TTF
    Warning: this font is 22MB large!

  • Q: Help! I can send and receive UTF-8 fine, but any character I try and send that's not in my system codepage gets changed to a ? rather than being converted. Howtofix?
  • A: As stated under the "Displaying UTF-8" heading, you should mark "Multibyte Display" and "Multibyte Editbox" in the options dialog (under IRC - Messages). If you do this, it ought to work.

  • Q: Well, I'm not sure what other questions there are, so this is the end.
  • A: Ok, we'll call it a night then.