When changing locale in Magento 2.35 / 2.4 to Finnish and then running magento setup:static-content:deploy fi_FI -f there is an error stating "Unable to serialize value. Error: Malformed UTF-8 characters", managed to solve this by changing the fi_FI.csv from iso-8859-1 to utf8 also removed ctrl-M chars in fi_FI.csv
When changing locale in Magento 2.35 / 2.4 to Finnish and then running magento setup:static-content:deploy fi_FI -f there is an error stating "Unable to serialize value. Error: Malformed UTF-8 characters", managed to solve this by changing the fi_FI.csv from iso-8859-1 to utf8 also removed ctrl-M chars in fi_FI.csv