Open GoogleCodeExporter opened 8 years ago
I've 'solved' this temporarily - for my case - by wrapping the `for` loop,
inside the function `toUnicode()`, in an if statement like this:
`if(text && text.length>0){
for (var i=0;i<text.length;i++) {
if ((text.charAt(i) == '&') && (text.charAt(i+1) == '#')) {
result = result + String.fromCharCode(parseInt(text.substring(i+2,i+6)));
i+=6;
} else
result = result + text.charAt(i);
}
}`
That solved it for me
Original comment by m...@markdejong.com
on 9 Jan 2014 at 10:59
Original issue reported on code.google.com by
geedhar...@gmail.com
on 28 Aug 2013 at 4:48Attachments: