Weird! Are you sure you’ve got the right values in there - can you screenshot your environment variables table?
Just tried it on my Windows test machine, with Processing 3.4, and it’s working fine and picks up the right value - testing with this one liner
print(System.getProperty("file.encoding"));