• @rekabis@lemmy.ca
    link
    fedilink
    06 months ago

    A line break is a non-printable character. So it would only work in the scope of electronic storage. The minute it hits other media, the line break character is subject to how that media handles its presence, and then it is lost permanently from that step forward.

    Plus, many input forms make use of validation that will just trim anything that isn’t a character or number, removing the line break character.

    • @Excrubulent@slrpnk.net
      link
      fedilink
      English
      0
      edit-2
      6 months ago

      As someone with a very mildly unusual name, I can tell you that it doesn’t matter whether a system could or could not meaningfully represent the name. Often the people or systems just refuse to acknowledge any deviation from what’s expected. Sometimes databases are written to enforce arbitrary grammatical rules that make my name impossible to write, or the people using the systems will just “correct” the “error” without telling me. I don’t mind that much but our normative systems just love to homogenise us.

        • @Excrubulent@slrpnk.net
          link
          fedilink
          English
          0
          edit-2
          6 months ago

          No they’re not. They’re required for us to be catalogued and managed by a state, to our detriment and the enrichment of the ruling class.

          “Normality” is a fucking scam that keeps your imagination in check, so you never look outside your assigned box and realise you don’t have to belong to anyone.

          You have no idea how much genocidal violence has been done to condition our society to accept a dystopic phrase like “normal names are required for the functioning of society”.

          Your mind has been caged.

          • @MutilationWave@lemmy.world
            link
            fedilink
            06 months ago

            You’re right.

            I just want to say that my last name is three syllables and spelled exactly how it sounds. In fact it’s two common english words stuck together. It was Americanized/Anglicized from Germany.

            Three syllables will break brains on people here. I state it clearly. They’re like haha what?

            For the last 9 years I’ve just been handing over my work ID badge so they can type it.

            • @Excrubulent@slrpnk.net
              link
              fedilink
              English
              06 months ago

              I probably said it too dramatically, the kinds of people that need to hear it will just knee-jerk dismiss me, but seriously think about the phrase “normal names are required for the functioning of society”. What a wild-ass thing to say. Required why? Is society really that fragile? Sounds like maybe it should be replaced by something that can handle the occasional mildly spicy letter. Mine isn’t even that spicy, it’s like whole-egg-mayo levels of spice.

              • @MutilationWave@lemmy.world
                link
                fedilink
                0
                edit-2
                6 months ago

                It’s hard to believe but it’s just a couple people being shitty. Many probably agree sadly, but damn, get with it people !

                I understand all the crashes database, Bobby Tables arguments. But shit, just update your system to accept Unicode and we’ll live happily ever after. At least my child 🍆💦ヾ(⌐■_■)ノ♪ will be finally recognized. 🤙

    • @piecat@lemmy.world
      link
      fedilink
      06 months ago

      A line break doesnt have to be electronic only. You just… start a new line on the paper.

      If it were somehow legally allowed, the sanitization would be incorrect.

  • @SlopppyEngineer@lemmy.world
    link
    fedilink
    06 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.

  • lime!
    link
    fedilink
    English
    0
    edit-2
    6 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.

    • @marcos@lemmy.world
      link
      fedilink
      06 months ago

      Is it missing an apostrophe and a dash? Or they registered the wrong name?

      Anyway, the use of quotes seem to have backfired. I blame Excel.

      • @perviouslyiner@lemmy.world
        link
        fedilink
        06 months ago

        Apparently they didn’t include the single quote at the beginning because they wanted to hint at the exploit without actually triggering it.

        (and Lemmy seems to combine two dashes into one)

    • luluu
      link
      fedilink
      06 months ago

      NaN: „Hey Nanna, can you call the nanny?“

  • @trustnoone@lemmy.sdf.org
    link
    fedilink
    06 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.

    • @someguy3@lemmy.world
      link
      fedilink
      06 months ago

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

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

      • @pmk@lemmy.sdf.org
        link
        fedilink
        06 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.

        • @someguy3@lemmy.world
          link
          fedilink
          06 months ago

          That one I can actually see, having an extra letter doesn’t match. Dropped punctuation or symbols (whatever the flair is called) though personally I would understand.

          • @wieson@feddit.org
            link
            fedilink
            06 months ago

            That’s the wrong way of looking at an å.

            It’s not just an a with decoration. It actually has different pronunciation and is typically replaced with aa if no å is available. (I’m neither Swedish nor Norwegian, so not 100% sure, but it’s what happened to Erling Haaland).

            Similarly, you would replace a German ä with ae. So if my name was Bäcker, it would be wrong to spell it Backer on a ticket. Baecker would be the way.

            • @someguy3@lemmy.world
              link
              fedilink
              0
              edit-2
              6 months ago

              Yes I’m aware it’s not an a with decoration jfc. I’m saying for computer entries that garble things, I wouldn’t care about matching it up so perfectly (with dropped whatever those things are called) as to not allow someone to board a plane.

              • @Hawke@lemmy.world
                link
                fedilink
                05 months ago

                “Diacritics” is the word you are looking for.

                And unfortunately the kind of people who decide whether people get to board a plane do care about that stuff.

          • @pmk@lemmy.sdf.org
            link
            fedilink
            06 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”.

            • @ryedaft@sh.itjust.works
              link
              fedilink
              English
              06 months ago

              I’m amazed that none of your family members have run into the same problem. If I were you I would compare passports with my family.

    • agilob
      link
      fedilink
      English
      0
      edit-2
      6 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 from 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
        06 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.

    • The Octonaut
      link
      fedilink
      06 months ago

      … why are you putting an apostrophe in McDole? The O-apostrophe in Irish names is an anglicisation of Ó, eg. Ó Briain becomes O’Brien. Mac Dól would become MacDole/McDole.

      • hypnotoad
        link
        fedilink
        English
        06 months ago

        Yeah fuck this guy for spelling his name the way it was given to him what an asshole

        • @Affidavit@lemm.ee
          link
          fedilink
          06 months ago

          Probably some bureaucrat decades ago making an incorrect assumption that passed down through generations. Happened to my family. No Irish roots whatsoever, yet somehow we ended up with the annoying form-breaking apostrophe in our ‘legal’ name just because it begins with the letter ‘o’.

          “Oscar??? Surely, you’re mistaken. I hereby decree your name to be O’Scar!” ~Arsehole circa 1937

          • @SkunkWorkz@lemmy.world
            link
            fedilink
            06 months ago

            Yep also happened to my family. There is a y in my family name, but that’s very uncommon in the Netherlands, my last name is of French origin. So some bureaucrat changed it to a Dutch y which is an ij and there was no time to correct it since my grandparents had to catch the boat to flee the former Dutch colony. Now my last name is constantly pronounced wrong. I’m probably going to change it in the future but in the Netherlands you are not allowed to change your name except for a few exceptions. And applying for a name change cost a lot of money and you won’t get it back if they reject it. So I probably have to get a lawyer to do it.

            • @Affidavit@lemm.ee
              link
              fedilink
              0
              edit-2
              6 months ago

              Yeah, I’ve considered a name change myself. Decided not to bother as it would mean every time I need to prove my identity to a government organisation I’d need to provide additional change of name documentation.

              Government is hard enough to deal with as it is without adding an extra thing that needs to be assessed.

        • The Octonaut
          link
          fedilink
          06 months ago

          Hey Militant Left, just because every question directed at you assumes you are an asshole, doesn’t mean the same applies to questions to other people

    • @Valmond@lemmy.world
      link
      fedilink
      06 months ago

      Spent lots of effort to get names for my kids that avoid this. Swedish/French. It’s harder than it sounds.

    • @rekabis@lemmy.ca
      link
      fedilink
      06 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.

    • @Treczoks@lemmy.world
      link
      fedilink
      06 months ago

      Same shit with American custom forms. On the one hand, they threaten you with Armageddon if you fill out the form incorrectly, on the other hand, they only allow plain letters, numbers, and a handful of special characters. Nobody there has the capacity of the mind that maybe a name cannot be correctly represented with that tiny subset of characters. So it is simply impossible to fill out that form without breaking the law. And it is a customs form, so they should know that people filling it out are most likely foreigners.

  • @bandwidthcrisis@lemmy.world
    link
    fedilink
    06 months ago

    Unix or dos format?

    Anyway, you probably need to put a backslash before it to indicate line continuation.

    But wouldn’t it be better to use something more traditional, such as <br>?