TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker or making a Paypal contribution here: paypal.me/SupportTMC

special characters in URLs

Discussion in 'Site Feedback' started by brianman, Aug 30, 2013.

  1. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    I'm getting a strong impression (by web searches on this topic) that the forum should be encoding the special characters in thread titles and it's not.

    Please let's keep this thread on-topic about whether the "correct" behavior (as per URL specs) and making sure the forum is behaving accordingly. I'm hoping everyone will be on good behavior regarding the "browser wars". Thanks.


    Two current examples that don't load for me (in Windows 8.1 Preview):
    1. Help Green All Of Washington States Highways In 90 Days!
    2. Club Tesla Québec Gatherings

    I've underlined what appear to be the problematic characters.

    A random helper page from the web:
    The URLEncode and URLDecode Page

    Input: Help-Green-All-Of-Washington-State’s-Highways-In-90-Days!
    Output: Help-Green-All-Of-Washington-State%E2%80%99s-Highways-In-90-Days!

    Input: Club-Tesla-Québec-Gatherings
    Output: Club-Tesla-Qu%C3%A9bec-Gatherings




    Arg, I meant to put this in Site Feedback.
     
  2. NigelM

    NigelM Recovering Member

    Joined:
    Apr 3, 2011
    Messages:
    13,257
    Location:
    Sarasota, FL
    Presto!

    ----------------------------------------

    BTW, your underlines are hard to see. Here's what I get from Chrome:

    Help-Green-All-Of-Washington-State%92s-Highways-In-90-Days!

    Club-Tesla-Qu%C3%A9bec-Gatherings

    - - - Updated - - -

    And this is Safari:

    Help-Green-All-Of-Washington-State%92s-Highways-In-90-Days!


    Club-Tesla-Québec-Gatherings


    I'm browser-incompetent, and not to start a browser war", but part of the issue is obviously how to account for all the different browsers.
     
  3. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
  4. NigelM

    NigelM Recovering Member

    Joined:
    Apr 3, 2011
    Messages:
    13,257
    Location:
    Sarasota, FL
  5. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    The %92s version works. But the original link listed on New Posts doesn't do that; hence the problem.
     
  6. doug

    doug Administrator / Head Moderator

    Joined:
    Nov 28, 2006
    Messages:
    15,914
    Location:
    Stanford, California
    Not sure what it is with these non standard apostrophes.

    I edited both thread titles with the standard characters. Hopefully that fixes it.
     
  7. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Is there a way (maybe a setting?) to get the forum software to encode the weird characters (%92 style) rather than have to correct them each time manually?
     
  8. doug

    doug Administrator / Head Moderator

    Joined:
    Nov 28, 2006
    Messages:
    15,914
    Location:
    Stanford, California
    I think the browser compatibility is more the issue, and hopefully that will be fixed with an update. Really the server shouldn't care what comes after that thread id number.

    Until then I don't mind editing thread titles in Chrome.
     
  9. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    ...
    #27 Spec says "a". Vendor Y does "a". Vendor X does "b". Content matches "b". Vendor Y gets blamed as incompatible (with current content).
    #28 Spec says "a". Vendor Y does "b". Ten years later everybody else does "a". Vendor Y gets blamed as incompatible (with spec).
    ...

    Eventually vendor Y retires cause it ain't worth the effort. I guess the only right answer is to split the screen so you can support "a" and "b". Of course with the number of specs and the infinite details, that's a lot of split screening at scale. I think you reach "paper folding limit" type problems.


    Anyway, thanks doug.
     
  10. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    From the New Posts page, this link remains broken for me:

    Club Tesla Québec membership!!! Join in
    Code:
    http://www.teslamotorsclub.com/showthread.php/18532-Club-Tesla-Québec-membership!!!-Join-in?goto=newpost
    This attempt at adjusting it doesn't work either:
    Code:
    http://www.teslamotorsclub.com/showthread.php/18532-Club-Tesla-Qu%C3%A9bec-membership!!!-Join-in?goto=newpost
    This link does work:
    Code:
    http://www.teslamotorsclub.com/showthread.php/18532-Club-Tesla-Qu%C3%A9bec-membership!!!-Join-in
     
  11. doug

    doug Administrator / Head Moderator

    Joined:
    Nov 28, 2006
    Messages:
    15,914
    Location:
    Stanford, California
  12. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
  13. doug

    doug Administrator / Head Moderator

    Joined:
    Nov 28, 2006
    Messages:
    15,914
    Location:
    Stanford, California
    Ok, well I edited the title.
     
  14. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Update: Oddly that number-only url now works.

    Thanks for your efforts on this, doug.
     
  15. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Not sure what's not to like about this title's formatting and encoding doesn't seem to help. :(

    Code:
    http://www.teslamotorsclub.com/showthread.php/21156-Thoughts-on-hypermiling-the-Tesla…
    Presumably it's the "small periods" ellipsis.

    Compare:

    vs.
    ...

    Trying this doesn't help:
    Code:
    http://www.teslamotorsclub.com/showthread.php/21156
     
  16. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Another one:
    Code:
    http://www.teslamotorsclub.com/showthread.php/21655-We’re-running-out-of-sand-–-yet-another-market-failure
    I suspect it's the middle of the 3 characters after "sand".
     
  17. doug

    doug Administrator / Head Moderator

    Joined:
    Nov 28, 2006
    Messages:
    15,914
    Location:
    Stanford, California
    No, I can see that it's the apostrophe. "We’re" instead of "We're".

    Try it now.
     
  18. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Nope, doesn't work. I still think the non-hyphen is an issue:
    -–-
     
  19. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    It's fixed now. Thanks much, doug or whoever did it. :)
     
  20. brianman

    brianman Burrito Founder

    Joined:
    Nov 10, 2011
    Messages:
    15,487
    Another troubled thread...
    Code:
    http://www.teslamotorsclub.com/showthread.php/23022-Teslas-Amazonian-Attributes-WSJ-com-—-October-24-2013
    I'm pretty sure it's the em dash between the two hyphens just before "October".
     

Share This Page