Shop OBEX P1 Docs P2 Docs Learn Events
Disappearing Percent Signs — Parallax Forums

Disappearing Percent Signs

Duane DegnDuane Degn Posts: 10,588
edited 2014-05-07 14:49 in General Discussion
The percent sign, particularly when used to denote binary information, disappears from many forum posts. The disappearing percent sign usually takes a couple of ones or zeros with it.

I understand this is an issue with the forum software parsing the percent sign as if it were some sort of html code.

I'm hoping there's a way to fix the forum software to allow percent signs or to learn how one adds permenent percent signs to forum posts.

Thanks,

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2012-06-13 13:01
    Hmm... this may actually be an HTML limitation with percent encoding

    http://en.wikipedia.org/wiki/Percent-encoding

    I haven't tried it but perhaps if you place an underscore JUST after the % it might display correctly.


    Can you provide a link to an example that is failing?
  • W9GFOW9GFO Posts: 4,010
    edited 2012-06-13 13:25
    You can also use "[noparse][noparse] Sentence with % in it.[/noparse][/noparse]"

    Of course to display it that way I had to add an extra set of "[noparse][noparse] [/noparse][/noparse]" because they are not visible in the post.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-06-13 13:28
    There has been another thread started about this, and Bump is aware of the problem; but he's busy at the moment working on Parallax's new website.

    -Phil
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-06-13 13:34
    There has been another thread started about this, and Bump is aware of the problem; but he's busy at the moment working on Parallax's new website.

    -Phil

    I thought this had been discussed, but I couldn't find it in this "Support" forum.

    Are Rich's "noparse" tags the best solution for now?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-06-13 13:37
    Duane Degn wrote:
    Are Rich's "noparse" tags the best solution for now?
    AFAIK, yes. I haven't tried them inside of [code] blocks, though.

    -Phil
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-06-13 14:20
    Can you provide a link to an example that is failing?

    I thought this would be easy since I was just having trouble with this earlier today but my test post didn't produce any errors.

    I don't know why they disappear in some cases but not others.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-06-13 15:10
    Duane Degn wrote:
    I don't know why they disappear in some cases but not others.
    It's because not all strings that include them can be interpreted as "percent-encoded" characters in HTML. (See Beau's link, above.) The forum software tries its best to parse percent-encoded characters, but when it can't, it just leaves the percent string alone.

    -Phil
  • kuronekokuroneko Posts: 3,623
    edited 2012-06-25 05:33
    FWIW, I never had problems getting a % across, neither with typing nor simply copy/paste'ing. I rather suspect an issue with the editor(s) used (most likely being too clever for their own good).
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-06-25 07:29
    I think you're right about that, now that I recall a previous thread on the matter. It's the forum's WYSIWYG editor that's the culprit.

    -Phil
  • skylightskylight Posts: 1,915
    edited 2012-07-20 10:15
    I have today experienced the problem for the first time and phil is right that the best way is to use the basic editor at the moment.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-07-20 11:39
    Is the solution not use "Preview Post"? Or does using the option "Go Advanced" cause the trouble?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-07-20 11:50
    It's neither by itself. The problem occurs when you've selected the WYSIWYG editor in your profile for advanced editing and then enter the program there. It's best just to forget the WYSIWYG editor altogether and learn to use the BBcodes for formatting. It's really not that hard.

    -Phil
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-07-20 12:01
    I did have my editor set to WYSIWYG (I think it's the default). I switched to basic editor. I bet I have to change the way I post pictures now.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-07-20 12:11
    Duane Degn wrote:
    I bet I have to change the way I post pictures now.
    After you upload an image, do a preview, then use the [noparse][img][/img][/noparse] tags around the thumbnail link address (not the thumbnail image address) wherever you want the image to appear in your post.

    -Phil
  • skylightskylight Posts: 1,915
    edited 2012-07-20 13:20
    It must be the indenting and % because I never had problems before when posting with the advanced editor in the basic stamp forum just the propellor one
  • kuronekokuroneko Posts: 3,623
    edited 2012-11-23 19:51
    Can please someone do something about this? It's really annoying having to ask for a re-post (especially with newcomers) when the code in question looks like it's corrupted.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-11-23 20:19
    I know Bump is aware of the problem, but I think we're just gonna hafta suffer awhile longer. Parallax's web staff has their heads buried in crating the new storefront. It would probably be a major gearshift to divert resuources to forum issues at the moment.

    -Phil
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-05-07 14:49
    This is still an issue - I posted some code in this post http://forums.parallax.com/showthread.php/155569-Serial-4-digit-7-segment-LED-display?p=1265760&viewfull=1#post1265760
    and the kept disappearing from this line of code

    Seg7.start(TX_PIN, TX_PIN, %1000, BAUD) ' ignore tx echo on rx'

    I have to switch from WYSIWYG mode to source mode to get the %1000 to "stick" (percent_sign 1000)
Sign In or Register to comment.