get encoding from resource-settings