Author Topic: Escaping  (Read 4559 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Escaping
« 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 ???




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Escaping
« Reply #1 on: April 16, 2011, 01:37:31 pm »
I'M not sure what you mean by escaped? ???

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Escaping
« Reply #2 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Escaping
« Reply #3 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.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Escaping
« Reply #4 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).




Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Escaping
« Reply #5 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.
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Escaping
« Reply #6 on: April 17, 2011, 12:41:50 am »
Ah ok. Hopefully you can find a solution for the french channel.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Escaping
« Reply #7 on: April 17, 2011, 01:42:39 am »
I think I'm going to end up writing my own logger. =/
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Escaping
« Reply #8 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

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Escaping
« Reply #9 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.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Escaping
« Reply #10 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.




Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Escaping
« Reply #11 on: April 17, 2011, 05:42:01 pm »
Yup. Basically, mIRC's logger doesn't do multibyte characters at all.
Omnimaga Admin

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Escaping
« Reply #12 on: April 24, 2011, 12:21:33 pm »
Er, why does " get converted to &quot; then?