• SlopppyEngineer@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    “We call her Carrie, because of the carriage return.”

    You can also try to give the child NULL as middle name for additional fun.

  • trustnoone@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    I have an apostrophe and it’s super annoying as some companies see it as a SQL injection hack and sanitize it.

    So I’ve received ID with Mc%20dole or they add a space in it. Or I’ll get a work email with an apostrophe but I cant use it anywhere because sites have it disabled. And I’ve missed my flight because I changed my ticket once to add the apostrophe and the system just broke at the gate.

    Worse yet many flight companies have “you will not be able to board if your ID doesn’t exactly reflect your details” but their form doesn’t allow it. Even most forms for card payments don’t allow it even though it’s the name on my card.

    • agilob@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      5 months ago

      I have an apostrophe and it’s super annoying as some companies see it as a SQL injection hack and sanitize it.

      My surname contains a character that’s only present in the Polish alphabet. Writing my full name as is broke lots of systems, encoding, printed paperwork and even British naturalisation application on Home Office website. My surname was part of my username back at uni, and everytime I tried to login on Windows, it would crash underlying LDAP server, logging everyone in the classroom out and forcing ICT to restart the server.

      • grue@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        everytime I tried to login on Windows, it would crash underlying LDAP server, logging everyone in the classroom out and forcing ICT to restart the server.

        Now that’s the way to do it! Make it everybody’s problem, not just yours.

    • rekabis@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      I have an apostrophe

      Scottish/Irish?

      some companies see it as a SQL injection hack and sanitize it.

      Which kind of apostrophe?

      A straight apostrophe, fine - that can and does get used in valid SQL injection attacks. I would be disgusted at any input form that didn’t sanitize that.

      But a curly apostrophe? Nothing should be filtering a curly apostrophe, as it has no function or use within SQL. So if you learn how to bring that up in alt codes (Windows, specifically), Key combos (Mac) or dead keys (Linux), as well as direct Unicode codes for most any Win/Mac/*Nix platform, you should be golden.

      Unless the developer of that input form was a complete moron and made extra-tight validation.

      Plus, knowing the inputs for a lot of extended UTF-8 characters not found on a normal keyboard is also a wee bit of a typing superpower.

    • someguy3@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      you will not be able to board if your ID doesn’t exactly reflect your details"

      Do they care about an apostrophe though? I can see any punctuation being a problem for systems.

      • pmk@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        I had to convince people to let me on board a plane because my name contain a swedish letter (å). Their computer system translated it into “aa”, which then didn’t match my passport.

          • pmk@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            No, my passport has my real name of course, with “å”. In the airport system and on the boarding pass my name was spelled with “aa”.

  • Bookmeat@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 months ago

    Not legal in Canada. Your legal name must use Latin characters only. This is a sore point for indigenous people.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Which is both entirely understandable, and also tragic because Canada’s indigenous written characters are so cool. :D

      But also, it’s gotta be neat having a name among your people, that “the state” has nothing to do with…

  • lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    5 months ago

    asking questions like this is how i found out that one of the allowed characters in names in my country is ÿ, which is fine in Latin-1 but in 7-bit ASCII is DEL.

    • Whelks_chance@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      This sounds like it would create a whole list of fun and irritating edge conditions for some poor bugger to debug. Love it.

  • Atomic@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Not legal in Sweden. Our “IRS” must also accept the name and deem it legal.

    I for one like this. As it stops some very stupid people to name their children some very stupid names. Such as “Adolf Hitler”.

    And yes. Someone did try to name their child this and they were appropriately stoped from doing it.

  • ano_ba_to@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 months ago

    It’s impossible to represent that on paper. It could be misrepresented as a specific number of spaces. Depending on the position on the paper, it may also be hard to tell if the carriage return comes with the line feed. Unless you want the document to be in ASCII or EBCDIC hex, it’s like writing an ambiguous math problem where the answer is different depending on how you were taught about the order of operations. Don’t do this to your kid, Abcde.

  • takeheart@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Na, names are about pronunciation (how you call someone). Written letters are an approximation of that. You can’t pronounce a newline, so there’s that.