Navi
Home +
Live Support +
Screenshots +
Downloads +
Themes +
About +
FAQs +
Forum +
Tutorials +
Bug Tracker +
News Archive +

Online
6 Guests, 0 Users

Latest
2.20 Build 2010.02.07

XML Feed RSS2 Feed IRC channel
Information
Welcome, Guest. Please Login or Register. July 29, 2010, 07:26:27 AM
Guest News: Check AnimeNewsNetwork for anime-related news.
Home Help Search Calendar Login Register

Forum
Monkey-Pirate Forum  |  UPP Section  |  UPP Announcements  |  Topic: mIRC 6.31, UTF and UPP « previous next »
Pages: 1 Go Down Print
Author Topic: mIRC 6.31, UTF and UPP  (Read 8537 times)
KyD
Author of UPP
Global Moderator
Cool Monkey
*****
Offline Offline

Posts: 383


work it out

92309408 KyD_of_the_Wired AIM4KyD
View Profile WWW Email
mIRC 6.31, UTF and UPP
« on: January 22, 2008, 09:58:10 PM »

It's been a while since I have had the time to do anything about UPP, but Peorth kept bugging me to fix UTF support in UPP, so I did.

mIRC 6.31
First off, for those of you that like the UPP tray icon and such, I put a modified version of the mIRC 6.31 executable (mirc_upp.exe) online here.

For as far as I could test, everything still works with this version of mIRC. However, there are some new mIRC settings that are enabled by default and are slightly annoying:
  • mIRC 6.31 shows a treebar by default, if you don't like it, you can disable it (View -> uncheck `Treebar').
  • If you're running an fserve, you might want to disable `Flash on message' for chats (otherwise mIRC will start blinking every time someone enters your fileserver). This option is by default enabled when you upgrade to mIRC 6.31 (mIRC options -> IRC -> Options -> Flash on message -> uncheck `chat').
  • On some networks, UPP adds ChanServ/NickServ/etc. to the notify list to auto-identify when they come online. However, mIRC 6.31 by default shows a system tray balloon for notify status changes, which might be annoying. You can disable it of course (mIRC options -> Display -> Options -> Tips -> uncheck `notify').
  • Timestamping logs has been disabled by default, you can enable it in mIRC Options -> IRC -> Logging -> check `Timestamp logs'.

UTF support
Even if you were already using the mIRC 6.31 executable with UPP, UPP didn't decode UTF encoded messages (they showed up garbled instead), I'll first try to explain why and then say how you can fix it.

UTF decoding in mIRC is done per line, for the entire line that is shown in the window (timestamp, nickbrackets included). Encoding UTF means escaping high ASCII characters (>127), by putting a $chr(194) in front of them.

If mIRC sees an unescaped high ASCII character in the message (or in the timestamp/nickbrackets that are shown on the same line), mIRC will assume that the message is not UTF encoded, so the entire line is printed without UTF decoding. When all high ASCII values in the line are UTF-escaped, mIRC will assume UTF encoding was used, so the entire line is decoded.

So the timestamp/nickbrackets cannot contain high ASCII chars, escaping them won't work, since the line is not decoded (would show garbled) if the message contains unescaped high ASCII characters (which can for instance be sent by someone who doesn't encode outgoing messages in UTF).

The problem with UPP was that many of the default themes used high ASCII characters in the timestamp and nickbrackets, so messages could never be UTF decoded. To fix this, I made UTF compatible versions of the default_white and default_black themes, download them here:
The only change in these themes is that I specified a non-default timestamp that doesn't use any high ASCII (>127) characters, and removed high ASCII characters from the nickbrackets (nb, nbc and nbn aliases) as well. You can do the same to fix your own themes.

Even if you don't need to type UTF encoded yourself, I still recommend you use UTF compatible themes, so you can read other people's UTF encoded text (e.g., Japanese signs) properly. I also recommend for mIRC options -> IRC -> Messages, that you check all 6 checkboxes (SJIS/JIS conversion, Multibyte display, Mulitbyte editbox, UTF-8 display, Font linking, Parse ANSI codes). Since it can't hurt, even if you're not typing in UTF encoded.

If you do need to type with UTF encoding enabled, then you can enable it per window (or save it as default), using the /font command and setting UTF-8 to 'Display and encode'. Note that this implies that your text (if it contains high ASCII characters or actual encoded UTF characters) will look garbled on clients that do not support UTF decoding.

Future of UPP
As you probably know, I haven't released a new version of UPP in about 3 years now. My studies and other things have been keeping me busy.

That doesn't mean I haven't done anything about UPP; I have scripted a lot of things over the past years that I want to put out here. I just never got to releasing something because there's a lot of unfinished stuff in my working-copy, and a whole list of things that need testing before I can wrap things up.

So I do plan to create time for that and make one more release of UPP. I can't set a date for it, but expect it somewhere this year.
« Last Edit: January 22, 2008, 10:39:50 PM by KyD » Logged
Peorth
Monkey Wannabe
*
Offline Offline

Posts: 8



View Profile
Re: mIRC 6.31, UTF and UPP
« Reply #1 on: January 22, 2008, 10:37:16 PM »

Muahahaha.


I was right Wink Just gotta keep pokin' 'em Grin
Logged
Pennywise
Monkey Wannabe
*
Offline Offline

Posts: 2



View Profile Email
Re: mIRC 6.31, UTF and UPP
« Reply #2 on: January 28, 2008, 10:57:25 AM »

Nice to see you back KyD Smiley

I just wanted to point out that, with the help of official mirc-forum support and a friend who did all the script code, i was able to use high ascii characters and read utf message.

the only limitation is that the message itself cannot contain high ascii characters..but, still, it works for ~95% of utf msgs i read.
in case anyone likes "«»" as i do.
Logged
who_knows
Monkey Wannabe
*
Offline Offline

Posts: 1



View Profile
Re: mIRC 6.31, UTF and UPP
« Reply #3 on: February 06, 2009, 12:43:47 PM »

Hi folks,

some new news about a "brand new" UPP???

Hey Kyd, what's going on here?

Greets,

who_knows
Logged
CraXyOW3
Monkey Wannabe
*
Offline Offline

Gender: Male
Posts: 7


Pantsu Pantsu Pantsu Kudasai

9853153 craxyow3@hotmail.com CraXyOW3
View Profile WWW
Re: mIRC 6.31, UTF and UPP
« Reply #4 on: March 08, 2009, 11:01:02 AM »

It's awesome to see that you ahven't abandoned upp, been away from the irc scene for a while now and felt that i wanted to come back again.
Was looking for alternatives (yes, i WAS thinking of another script....) to upp but in the end, nothing.
Must say that UPP is very well planned by design and functionality, wonder why upp isn't noted on several "mIRC" sites, havent found any that surpasses the logic and use of upp.

Uhm, ehm, reading my text once more it sounds Im uhm, licking your *beeep* Tongue

Anyways, go for it dude, love UPP!!!!
Logged
Tyras
Monkey Wannabe
*
Offline Offline

Gender: Male
Posts: 2


Missing something that I never had.

mrfishjr@gmail.com Don't+Use Don't+Use
View Profile Email
Re: mIRC 6.31, UTF and UPP
« Reply #5 on: April 24, 2009, 10:24:34 AM »

That's great, KyD! I was about to start bothering you and Peorth 'bout a new version  Grin

I'm a little disappointed that mIRC doesn't have a Linux version. Yeah, Wine is there and UPP works on it, but it crashes sometimes and it's a little annoying   Undecided

I want to port it to linux, but w/o the sources of mIRC its a little... err... hard  Grin
Logged

Nothing is too hard that can't be done. If you have enough willpower, you can do anything.
xymantec
Monkey Wannabe
*
Offline Offline

Gender: Male
Posts: 1



View Profile WWW
Re: mIRC 6.31, UTF and UPP
« Reply #6 on: May 06, 2009, 10:36:54 PM »

Yo whats up sorry to be off the topic a bit, I've been using your this client since like 1998 I would love to help you guys out with your website, why not by helping establish a better presence so we can at least make some money off adds to throw into some more advanced development time. UPP is possibly the best irc consoles, certainly one of the most functional and semantic irc script and has had a lot of potential I think we can make this a technology that can go to enterprise application level. I got all kinds of skills and a lot of time so why not? what do you say? Wink hit me up! you got my info =)
Logged
Kagemaru
Monkey Wannabe
*
Offline Offline

Posts: 3



View Profile
Re: mIRC 6.31, UTF and UPP
« Reply #7 on: May 16, 2009, 11:21:52 AM »

Shocked New release? I'm hyped. What new features are we about to see in there?
Also, will the planned alias list ever be released to us mere mortals? Wink
Logged
Pages: 1 Go Up Print 
Monkey-Pirate Forum  |  UPP Section  |  UPP Announcements  |  Topic: mIRC 6.31, UTF and UPP « previous next »
Jump to:  

Powered by MySQL Powered by PHP Using mod_gzip Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Website by Spaceman-Spiff. | UPP © 2001-2003, All Rights Reserved.
mIRC © 1995-2003, Khaled Mardam-Bey. All Rights Reserved.
WebHosting is provided by Monkey-Pirate.com.
Made for Mozilla XHTML 1.0 Valid CSS Valid
Page created in 0.166 seconds with 17 queries.