Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: EdC on December 21, 2010, 07:42:25 PM

Title: Altered body text
Post by: EdC on December 21, 2010, 07:42:25 PM
I have started using a text encoder to encode text in the bodies of my emails and have noticed two odd behaviors when using RoundCube:
#1) it removes trailing spaces in all text lines that end with a space (#32).
#2) it adds a space in column 1 of all lines after the first line ... unless
#2a) column 1 has a ">" (#62) in column 1, then it inserts the space (#32)
       in column 2.

I know, to software the coded text appears to be a group of the worst spelt, run-on words ever created, but unless they can get through un-altered, from start |S| to end |E|, the coded text cannot be deciphered.

My question then, is there a way to force RoundCube to handle the text I insert without alteration? ALso, where can I read if any other text alterations are made that I'm not yet aware of?

TIA - EdC

The "Quick Text Coder": (it's free)
//www.commandsticks.com/downloads/red_ops_programs/QTCoder.exe

It's free and only uses characters in the range of #32 .. #126 in coded text.
(Unencoded text also allows tabs (#9) and CRLFs (#13#10) but disallow pipe characters (#124) which sub for the tabs and CRLFs in code).

Example:
(1st & last lines demark the code, line 2 is a hash, line 3 a nul password)

|S|
ejY:-MHZfq2FzeVVNk-E+HI
' z~%32m>"I.O{R"
sC[Tafcu]=J@uM||LNxDOL4YS2qz=o6k*MS1i5f%2FCc085^'FH;{i^
+@Xu9JDp?1/ZvpQ[SweOgjY*"o {;R:^'H
Ls||2##6i:(%vZjQon;]77#wv6{RE'LO[i15k2O
gN}u!W`O.lE7NW 7KhJ7qFK/W$|| SZr43:[@>]d;>)]Bx4MNW%;6N
"t?4w!GSi?S`,$:NIY*:5hh,:43fzesk-u?Rt@e+0\w@5/JpNZnD469
@||||T,JAbegmklP||fHJ32ny`xPq}j?wZ$w^P\i"R:K<5$"_mXOGUj
LY2CwKuEZ8"O9TbGJ,][A^J`")=h9]B%bT^(ou_"||J"w%&C]d"l}an
qiIl6>u?x\JQG:x?PjmZq{81&'>*]shVhq[_v$GuX;d 6YAY])?/<4j
|E|

You won't be able to decode the above, because the posting removes the colon-leftparen pair (#58,#40) after "##6i" in line 6 and it inserts a space in the middle of "_MXO" near the end of line 9.

If you copy this to notepad and use courier new, you'll notice the lines wrap after the 55th character for lines 4-11 and that line 7 has a trailing space in position 55.

If you encode your own text, please note that it never encodes the same way twice and you may have to go through many cycles of encoding and decoding before a trailing space appears.