Online  |
6 Guests, 0 Users
|
Latest  |
|
2.20 Build 2010.02.07
|
|
|
Forum |
Pages: 1
|
 |
|
Author
|
Topic: mIRC 6.31, UTF and UPP (Read 8537 times)
|
KyD
Author of UPP
Global Moderator
Cool Monkey
    
Offline
Posts: 383

work it out

|
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
Posts: 8
|
Muahahaha.
I was right Just gotta keep pokin' 'em
|
|
|
|
|
Logged
|
|
|
|
Pennywise
Monkey Wannabe

Offline
Posts: 2
|
Nice to see you back KyD 
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
Posts: 1
|
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
Gender: 
Posts: 7

Pantsu Pantsu Pantsu Kudasai

|
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* 
Anyways, go for it dude, love UPP!!!!
|
|
|
|
|
Logged
|
|
|
|
|
|
xymantec
Monkey Wannabe

Offline
Gender: 
Posts: 1

|
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? hit me up! you got my info =)
|
|
|
|
|
Logged
|
|
|
|
Kagemaru
Monkey Wannabe

Offline
Posts: 3
|
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?
|
|
|
|
|
Logged
|
|
|
|
Pages: 1
|
|
|
|
|
|