add encoding detector dependency to the plugin