Skip to content

Commit

Permalink
#260 fix encoding issue when uploading csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Feb 15, 2017
1 parent 9dd5efe commit 72d8e0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

var fileContent = e.target.result;
if(!ctrl.readAsText) {
fileContent = fileBase64.substring(fileBase64.indexOf('base64,') + 7);
fileContent = fileContent.substring(fileContent.indexOf('base64,') + 7);
if(ctrl.directHandling) {
fileContent = $window.atob(fileContent)
}
Expand Down

0 comments on commit 72d8e0e

Please sign in to comment.