nl_tokens: For UTF - 8 a replacement character is added when ending on a partial character .
pl_tokens: function utf8End ( buf ) { var r = buf && buf . <mask> ? this . write ( buf ) : '' ; if ( this . lastNeed ) return r + '\ufffd' ; return r ; }