Omnimaga

Omnimaga => Discontinued => Our Projects => OmnomIRC Development => Topic started by: Deep Toaster on April 16, 2011, 12:53:34 pm

Title: Escaping
Post by: Deep Toaster on April 16, 2011, 12:53:34 pm
The way OmnomIRC escapes chars is kinda weird: special chars that SpyBot posts get escaped (such as "Online Lua > TI converter"), which implies that it got escaped twice, but anyone can just type something like & into IRC and it doesn't get escaped at all ???
Title: Re: Escaping
Post by: DJ Omnimaga on April 16, 2011, 01:37:31 pm
I'M not sure what you mean by escaped? ???
Title: Re: Escaping
Post by: Munchor on April 16, 2011, 01:38:23 pm
I don't get the escaped but I get the error, and the problem to me is in IRC Clients, cos OmnomIRC handles it fine.
Title: Re: Escaping
Post by: DJ Omnimaga on April 16, 2011, 01:49:43 pm
I think Netham45 logs are set with a different charset. THe French logs are all messed up.
Title: Re: Escaping
Post by: Deep Toaster on April 16, 2011, 03:38:35 pm
I'M not sure what you mean by escaped? ???

Escaping a special char means replacing it with something that's more acceptable (like "\t" instead of the tab character in many languages, or "&lt;" instead of < in HTML).
Title: Re: Escaping
Post by: Netham45 on April 16, 2011, 04:25:12 pm
That's just spybot that does that.

Also, yea, mIRC logging only supports ascii, I'm trying to find a way to get unicode/utf-8 easially.
Title: Re: Escaping
Post by: DJ Omnimaga on April 17, 2011, 12:41:50 am
Ah ok. Hopefully you can find a solution for the french channel.
Title: Re: Escaping
Post by: Netham45 on April 17, 2011, 01:42:39 am
I think I'm going to end up writing my own logger. =/
Title: Re: Escaping
Post by: DJ Omnimaga on April 17, 2011, 02:07:55 am
Ah ok, just make sure it's not too demanding on your bandwidth or server load. X.x
Title: Re: Escaping
Post by: Munchor on April 17, 2011, 05:38:05 am
I think I'm going to end up writing my own logger. =/

Using the same one as in the English version isn't working? I don't know how it was made, but it sounds strange.
Title: Re: Escaping
Post by: Deep Toaster on April 17, 2011, 09:45:34 am
I think I'm going to end up writing my own logger. =/

Using the same one as in the English version isn't working? I don't know how it was made, but it sounds strange.

It has the same problem in both channels, but it's more obvious in -fr because there are more special chars to deal with.
Title: Re: Escaping
Post by: Netham45 on April 17, 2011, 05:42:01 pm
Yup. Basically, mIRC's logger doesn't do multibyte characters at all.
Title: Re: Escaping
Post by: Deep Toaster on April 24, 2011, 12:21:33 pm
Er, why does " get converted to &quot; then?