• Buttons@programming.devOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    It’s still true that if you have a bunch of bytes and don’t know their encoding, you don’t really know what characters you have.

    • lasagna@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Good thing print debugging is still going strong!

      I code across multiple systems, particularly Windows and Linux. A lot of data involved. These encoding issues are rare. Granted, I’m more on the backend of things and more numerical-data driven. I’d expect a completely different set of headaches for web dev and such. But that just highlights the issue I have with the claim that every programmer must know this. Hence why the comment about taking it with a grain of salt.

      I have seen a lot of people interested in learning but get turned away by this level of complexity. This imo is unnecessary. Programming is first and foremost about logic, this level of in-depth knowledge requirement is what we have been doing away with in higher-level programming languages.