Skip to content

Conversation

@t-nakatsu-mf
Copy link

fixed unescapeString in the same manner as google chrome.

Trailing space is unicode terminator, to be deleted.
'hei\DF en' -> 'heißen'
'hei\00DF en' -> 'heißen'
'hei\0000DF en' -> 'heißen'

Six characters of the unicode without terminator.
'hei\0000DFen' -> 'heißen'

Non hex-character is unicode terminator, to be passed.
'hei\DFt' -> 'heißt'

Trailing space is unicode terminator, to be deleted.
'hei\DF en' -> 'heisen'
'hei\00DF en' -> 'heisen'
'hei\0000DF en' -> 'heisen'

Six characters of the unicode without terminator.
'hei\0000DFen' -> 'heisen'

Non hex-character is unicode terminator, to be passed.
'hei\DFt' -> 'heist'
@t-nakatsu-mf
Copy link
Author

fixe to pass npm run test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant