Author Topic: Lines with tildes ('~') in them are not displayed  (Read 5918 times)

0 Members and 1 Guest are viewing this topic.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Lines with tildes ('~') in them are not displayed
« on: April 30, 2011, 12:57:59 am »
Yeah. :P
Edit: it appears inconsistent. For example, "te~st" never displays, while "k~k" does.
« Last Edit: May 01, 2011, 04:23:22 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Normal (non-'/me') lines with tildes ('~') in them are not displayed
« Reply #1 on: April 30, 2011, 01:02:00 am »
Odd. It works half of the time, found out that if the 3rd character is a position of the tilde is a multiple of 3 it doesn't work.
« Last Edit: April 30, 2011, 01:05:37 am by juju2143 »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Normal (non-'/me') lines with tildes ('~') in them are not displayed
« Reply #2 on: April 30, 2011, 01:09:40 am »
Also, don't count spaces and index from 1.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Normal (non-'/me') lines with tildes ('~') in them are not displayed
« Reply #3 on: April 30, 2011, 04:02:45 pm »
wut

How do you guys find these? :|

The only thing I can think of is some sort of flaw in the base64 lib I'm using, I'll read over it..
Omnimaga Admin

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
I typed a message that had a tilde in the bad position, and it didn't display. I tried it a couple more times and it still didn't work, at which point I made this topic. Juju and I then proceeded to test it ;D
Edit: Oh, and good luck fixing it, of course :)
« Last Edit: May 01, 2011, 03:57:45 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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
Lines with tildes ('~') in them are not displayed
« Reply #5 on: May 01, 2011, 04:03:23 pm »
I love these hidden tricks :D

The only thing I can think of is some sort of flaw in the base64 lib I'm using, I'll read over it..

Every third? Sounds like it.

EDIT: Always works for me ???
* Deep Thought ~test
* Deep Thought t~est
* Deep Thought te~st
* Deep Thought tes~t
* Deep Thought test~

EDIT2: Oh, non-/me. Never mind.

EDIT3: Still works ???
~test
t~est
te~st
tes~t
test~

EDIT4: Oh, OmnomIRC. Never mind.
« Last Edit: May 01, 2011, 04:24:07 pm by Deep Thought »




Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
I tested this and here are my resuts

te~st works if not sent through omnomIRC(I used XChat) and it will display on omnomirc
« Last Edit: May 01, 2011, 04:09:07 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Stop confusing us, Deep :P
I'll be interested to know just what went wrong.
By the way, Deep Thought, what does the number three have to do with a base64 lib?
Edit: Ruler, yep, from a normal client OmnomIRC receives the lines just fine :) It can't send them, though.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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
Lines with tildes ('~') in them are not displayed
« Reply #8 on: May 01, 2011, 04:12:54 pm »
By the way, Deep Thought, what does the number three have to do with a base64 lib?

In base64, each group (triplet) of three ASCII characters is represented as four B64 digits.

http://en.wikipedia.org/wiki/Base64#Examples
« Last Edit: May 01, 2011, 04:24:17 pm by Deep Thought »




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Oh, I see. Silly me :P (* calcdude needs to think for himself a bit more...)
I wonder if any other characters are affected...
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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
Lines with tildes ('~') in them are not displayed
« Reply #10 on: May 01, 2011, 04:21:03 pm »
Er, it happens in /me lines too :-
« Last Edit: May 01, 2011, 04:24:26 pm by Deep Thought »




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Lines with tildes ('~') in them are not displayed
« Reply #11 on: May 01, 2011, 04:23:03 pm »
So it does. I just didn't realize it. Fixing the topic title, here I go!
Edit: Done.
« Last Edit: May 01, 2011, 04:24:01 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: Lines with tildes ('~') in them are not displayed
« Reply #12 on: May 01, 2011, 04:25:39 pm »
Guess it's just tilde... What does $7E have to do with anything? O.o




Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Lines with tildes ('~') in them are not displayed
« Reply #13 on: May 01, 2011, 05:28:14 pm »
~ is the last displayable char in the (standard) ascii set. Maybe somewhere there is an error in conversion code that makes it go out of 'bounds'.

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: Lines with tildes ('~') in them are not displayed
« Reply #14 on: May 01, 2011, 05:29:59 pm »
I can type รกรกรก with no problem though...