Bugfix [3608470]: Configuration.getEncoding(Locale) wasn't thread-safe if it was called with Locale variations that weren't registered and a less specific matching entry was found.