https://en.wikipedia.org/wiki/National_Replacement_Character...
The lack of brackets, caret, tilde and other ASCII special characters on various localized keyboards was a real problem in the 1980s. The C language standard solved it by introducing trigraphs:
https://en.wikibooks.org/wiki/C_Programming/C_trigraph
You can still write valid C using ??< instead of {, and so on. This feature will be removed from the C standard in a couple of years though.
The people who designed the Finnish keyboard layout were definitely not programmers, though: https://kbdlayout.info/KBDFI/
Imagine being called to a parents' friend to fix their computer, faking a QWERTY keyboard and trying hard not to look at the keys...
The file was probably actually written in something like codepage 1018: 0x7B is ä there rather than {.