• fibojoly@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    In my experience things are fine while you work in a single environment, or you have control over the entire pipeline of data. Things quickly turn into a story from the Bible when different systems start trying to communicate.

      • fibojoly@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        11 months ago

        That’s true yeah. The seed of all the problems is assuming.

        My teammates assumed System.DefaultEncoding must be some default value (UTF-8, they assumed, again) that would carry across all servers so no worries. Except no, it’s “whatever encoding is configured on this machine as the default code page”.
        Which was the same across our networks, lucky them.
        But for this one machine setup by an external contractor who had UTF-8 as default.
        That one took me a while to track down…