The string has a prefix of non-printing invalid characters, which leads to the fact that parseInt()it will not be able to parse the string as a number and therefore returns NaN(Not-a-Number).
, , :
... + escape(data) + ...
data.length, , .
(, ), . , , parseInt(), .
, , regEx :
Regex, javascript
( -, )
.
@fero link, , char, , , .
. UTF-8, .