export function convertIssueNumber2Number ( issueNumber ) { return parseInt ( '' + issueNumber . charCodeAt ( 0 ) + issueNumber . charCodeAt ( 1 ) + issueNumber . charCodeAt ( 2 ) + issueNumber . charCodeAt ( 3 ) + issueNumber . charCodeAt ( 4 ) + issueNumber . charCodeAt ( 5 ) ) ; } export function convertIssueNumber2String ( issueNumber ) { const nums = [ ] ; while ( issueNumber >= 1 ) { nums . unshift ( issueNumber % 100 ) ; issueNumber = Math . floor ( issueNumber / 100 ) ; } return String . fromCharCode ( ... nums ) ; } export function encodeURL ( str ) { return escape ( str ) . replace ( /\+/g , '%2B' ) . replace ( /\"/g , '%22' ) . replace ( /\'/g , '%27' ) . replace ( /\//g , '%2F' ) ; }