defer reading the file until we checked the upload result / turned accidental global detect_encoding function into an anonymous one
defer reading the file until we checked the upload result / turned accidental global detect_encoding function into an anonymous one

detect_encoding() doesn't seem to be used by anyone outside this controller. Check all plugins
known to me.

datafunk/datawrapper,rubensfernando/datawrapper,plusgut/datawrapper,ThuyNTran/datawrapper,devinit/datawrapper,qqming113/datawrapper,kendrick-k/datawrapper,devinit/datawrapper,grepman/datawrapper,datafunk/datawrapper,grepman/datawrapper,kendrick-k/datawrapper,grepman/datawrapper,datafunk/datawrapper,ThuyNTran/datawrapper,ThuyNTran/datawrapper,ThuyNTran/datawrapper,datafunk/datawrapper,kendrick-k/datawrapper,grepman/datawrapper,ThuyNTran/datawrapper,datafunk/datawrapper,rubensfernando/datawrapper,ThuyNTran/datawrapper,rubensfernando/datawrapper,kendrick-k/datawrapper,qqming113/datawrapper,kendrick-k/datawrapper,qqming113/datawrapper,plusgut/datawrapper,datafunk/datawrapper,grepman/datawrapper,rubensfernando/datawrapper,devinit/datawrapper,plusgut/datawrapper,qqming113/datawrapper,rubensfernando/datawrapper,grepman/datawrapper,kendrick-k/datawrapper,qqming113/datawrapper,devinit/datawrapper,devinit/datawrapper,qqming113/datawrapper,plusgut/datawrapper,devinit/datawrapper