Added new option auto_set_encoding to the configuration file. This option was added several days ago to the RedBean library from my pull reuquest