extract unescape_unicode_string() and fix rages

fix memory leaks

add test and implementation for malformed escape sequences

do not trim strings before conversion to number

(0) -1000 -300 -100 -30 -10 -4 +4 +10 +30 +100 tip

mercurial