Skip to content

Commit

Permalink
Fix bytesArrayToString
Browse files Browse the repository at this point in the history
  • Loading branch information
paronne committed May 3, 2024
1 parent db270a8 commit e8cf27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svyUtils/svyDataUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function getJSDataSetByQueryAsync(query, maxReturnedRows, onSuccess, onError) {
*/
function byteArrayToString(bytes, encoding) {
/** @type {String} */
var result = new java.lang.String(bytes, encoding | scopes.svyIO.CHAR_SETS.UTF_8).toString();
var result = new java.lang.String(bytes, encoding || scopes.svyIO.CHAR_SETS.UTF_8).toString();
return result;
}

Expand Down

0 comments on commit e8cf27d

Please sign in to comment.