Names with single quote get backslash added

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #317601

    Simon Smith
    Buyer
    Post count: 12

    One of our clients has added themselves as a Place with the name Gabrielle O’Grady
    Unfortunately, while this shows up correctly when editing their record and in the detail screen, in the listing and search screens a backslash is added by GeoDirectory …
    Gabrielle O’Grady

    I found this bug mentioned in another post (see below). I was unable to open and read the thread as I haven’t paid for Geodirectory membership – just got core and purchased two plug-ins.
    Thanks Massimo

    ____________________
    #1429 utf problem with accents – May 7, 2014
    Hi, I have experienced a similar problem with single quotation marks, i.e. if I enter “Côte d’Azur” as a region, then each time I save the city, the system adds another backslash i.e. I get something like “Côte d’Azur” or “Côte d\’Azur” or “Côte d\’Azur”. I tried to hack the database city table to get it right, but then the Javascript code fails because of unbalanced quotes: region = ‘Côte d’Azur’;
    Thanks. Best regards.

    #317691

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    try to use a single quote instead of a curly quote:

    this

    O'Grady

    instead of :

    O’Grady

    Let us know if it helps.

    Thanks

    #318528

    Simon Smith
    Buyer
    Post count: 12

    This is what showed up in my email O'Grady
    I tried that and it worked for list and search screens 🙂
    … but not in the map icon 🙁

    I then used Alt+0145 and this has worked in all places
    So thanks for getting me looking in the right place

    All sorted

    Massimo

    #318827

    Paolo
    Site Admin
    Post count: 31211

    You are welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount