• Codex
      link
      9212 days ago

      Seeing this actually sent a small wave of dread through my body

      • Sonotsugipaa
        link
        fedilink
        English
        5812 days ago

        Wdym? flamingo_pinyata’s explaination was quite useful, I wish somebody had told me that long ago and it’s still going to let me save so much time.

      • @tourist
        link
        5312 days ago

        When I see �, I just assume the user or another dev is using a non-standard keyboard, or my fonts aren’t up to date

        When I see this shit, I lose all blood flow to the brain and then just collapse

    • @Zachariah
      link
      2612 days ago

      Your Lemmy client appears to have a bug.

    • @Klear
      link
      211 days ago

      [vector Victor]

  • @markstos
    link
    9612 days ago

    Thanks, {{ firstName }}

  • @[email protected]
    link
    fedilink
    7012 days ago

    Why is it that whenever something is spitting out junk data, those specific characters are involved?

    • @[email protected]
      link
      fedilink
      6512 days ago

      Everything is 0s and 1s to a computer. What a pattern of 0s and 1s encodes is decided by people–often arbitrarily. Over the years there have been attempts to standardize encodings but, for legacy reasons, older encodings are still valid.

      The 0s and 1s that encode ’ in UTF-8 (a standardized encoding) are the same 0s and 1s that encode ’ in CP-1252 (a legacy encoding).

      The � symbol is shown when the 0s and 1s don’t encode anything of meaning.

    • JackbyDev
      link
      fedilink
      English
      411 days ago

      Right single quote (’) in UTF-8 (https://www.compart.com/en/unicode/U+2019) has the same bytes as ’ in cp1252 (which is more or less “ASCII” if we’re doing ELI5). https://en.wikipedia.org/wiki/Windows-1252

      Sometimes your keyboard or program’s settings will use right single quote for apostrophes instead of a normal apostrophe. ’ you might notice how this one is straight and not bent a certain way. This setting is often called smart quotes.

  • @TAYRN
    link
    4912 days ago

    If you do this, you’re going to burn in a very special level of hell. A level they reserve for child molesters and people who talk at the theater.

  • Xylight
    link
    fedilink
    English
    2712 days ago

    I feel like saying nothing but undefined is worse.

      • @Entropywins
        link
        411 days ago

        This is torture to do to a programmer…report people torturing others to the authorities

  • @NegativeLookBehind
    link
    English
    1811 days ago

    Junior dev: Oh no what is that symbol? Let me examine the code closely to find out

    Senior dev: The form still works. Fuck you.

  • @Alexstarfire
    link
    1612 days ago

    At least where I work, the developers who actually wrote the code would probably never see it. We have service staff that deal with an initial problems reported from customers. They’d likely figure out someone actually entered those values.

      • @Alexstarfire
        link
        812 days ago

        They are quite well seasoned. But it’s also worth noting they are developers as well because the job usually has you debugging things or writing code that needs to be run for the specific customer. Not a large amount of code, but just things that end up being specific to a customer.

        And if they have to come to a developer that actually works on the product, it’s usually a pain to try and figure out what is going on. Thankfully, this is very uncommon.