in addUploadFile try block: changed detect function to read from beginning to min encoding detect
in addUploadFile try block: changed detect function to read from beginning to min encoding detect

WheatonCS/Lexos,WheatonCS/Lexos,WheatonCS/Lexos