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

From AniDB
Jump to navigation Jump to search
m
(clean up a bit, +Fixedsys Excelsior)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
To get UTF-8 working properly with mIRC, you need at least version 6.17 of mIRC, which you can get here: http://www.mirc.com/get.html.
+
To get UTF-8 working properly with mIRC, you need at least version 6.17 of mIRC, which you can get here: http://www.mirc.com/get.html. Non-windows users are assumed to have been using clients with proper encoding support for years already.
  
 
However, mIRC will not display and encode text in UTF-8 by default, you need to change a couple of settings first. There are two places you need to change the settings in: the "'''<tt>mIRC Options</tt>'''" dialog and the "'''<tt>Select Font</tt>'''" dialog.
 
However, mIRC will not display and encode text in UTF-8 by default, you need to change a couple of settings first. There are two places you need to change the settings in: the "'''<tt>mIRC Options</tt>'''" dialog and the "'''<tt>Select Font</tt>'''" dialog.
Line 25: Line 25:
  
 
=== What needs to be changed ===
 
=== What needs to be changed ===
 +
 
Once you've reached the font dialog, you need to change the following things:
 
Once you've reached the font dialog, you need to change the following things:
 
*The "'''<tt>UTF-8:</tt>'''" section to "'''<tt>Display and encode</tt>'''".
 
*The "'''<tt>UTF-8:</tt>'''" section to "'''<tt>Display and encode</tt>'''".
Line 33: Line 34:
 
== Troubleshooting ==
 
== 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!
+
'''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:<br>http://www.lightworker.com/Download/Fonts/ARIALUNI.TTF - '''Warning: this font is 22MB large!'''<br>http://kosmos.kawaii-shoujo.net/MS-UIGothic.ttf - Note: this font is 7.8MB large. (Courtesy of DeathWolf.)
+
: '''A:''' This means you don't use a font that has the characters being used. Note, recent windows versions come with 'Lucidia Sans Unicode' - which has most glyphs you're likely to want. Otherwise, you can try use these:
 
+
:* [http://www.lightworker.com/Download/Fonts/ARIALUNI.TTF Arial Unicode MS] - '''Warning: this is a 22MB download!'''
----
+
:* [http://kosmos.kawaii-shoujo.net/MS-UIGothic.ttf MS UI Gothic] - Note: this is a 7.8MB download. (courtesy of DeathWolf)
 
+
:* [http://irc.server.md/fixedsys.zip Fixedsys Excelsior] - A monospace font based on the standard latin windows Fixedsys font, with wide support for different unicode ranges. Only 100kb download.
*'''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 "Options - What needs to be changed" heading, you should mark "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.
+
'''Q:''' How can I fix other problems like characters not in system codepage being sent as ? marks, or logs/dcc file names being scrambled?
*'''A:''' Ok, we'll call it a night then.
+
:'''A:''' Upgrade to 6.2 which fixes various encoding bugs - and make sure that 'multibyte display' is ''off''.

Revision as of 22:52, 10 August 2006


To get UTF-8 working properly with mIRC, you need at least version 6.17 of mIRC, which you can get here: http://www.mirc.com/get.html. Non-windows users are assumed to have been using clients with proper encoding support for years already.

However, mIRC will not display and encode text in UTF-8 by default, you need to change a couple of settings first. There are two places you need to change the settings in: the "mIRC Options" dialog and the "Select Font" dialog.

mIRC Options dialog - IRC - Messages section.

Options

To reach the options dialog, you can press "Alt+O" in any window in mIRC, or you can go to it via either the "View ⇒ Options...", or the "Tools ⇒ Options..." menus.

Once you have reached the options dialog, you need to go to the IRC ⇒ Messages section via the category list on the left-hand side of the options dialog.

What needs to be changed

In there, you need to make sure that these to options are checked:

  • UTF-8 display
  • Multibyte editbox

And you should make sure that the following options are unchecked:

  • SJIS/JIS conversion - because this is not 7-bit ASCII compatible, and will thus break UTF-8 and every other encoding that might be used.
  • Multibyte display - because this will break bold/underline/reverse/colour codes when used with text encoded in UTF-8.
mIRC Channel Fonts dialog

Fonts

The fonts dialog works in a fairly odd way. You can set a specific font for each window you have open, and you can also set a default font to use for every window that does not have a specific font set. You also need to set the default font differently for channels and private messages, as well as status windows and other windows. In order to get to the fonts dialog for an active window, you can use the "View ⇒ Font..." menu, or the "System menu ⇒ Font..." (to reach the system menu, you can click on the window-icon that you normally double-click in order to close a window. Or you can use the "Alt+-" hotkey).

What needs to be changed

Once you've reached the font dialog, you need to change the following things:

  • The "UTF-8:" section to "Display and encode".
  • If you want to set this as the default setting for windows whose options you have not set (recommended), check the "Set as default channel font" setting. (Assuming you're changing the option for a channel window. If you're changing it for a private message window, the setting is called "Set as default chat font".)

It is also recommended that you use a font that can actually display unicode characters.

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. Note, recent windows versions come with 'Lucidia Sans Unicode' - which has most glyphs you're likely to want. Otherwise, you can try use these:
  • Arial Unicode MS - Warning: this is a 22MB download!
  • MS UI Gothic - Note: this is a 7.8MB download. (courtesy of DeathWolf)
  • Fixedsys Excelsior - A monospace font based on the standard latin windows Fixedsys font, with wide support for different unicode ranges. Only 100kb download.

Q: How can I fix other problems like characters not in system codepage being sent as ? marks, or logs/dcc file names being scrambled?

A: Upgrade to 6.2 which fixes various encoding bugs - and make sure that 'multibyte display' is off.