Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

illegal character error with "0x60" [`(Unicode Character 'START OF GUARDED AREA' (U+0096))] #294

Closed
commonsuppliz opened this issue Jan 22, 2017 · 1 comment · Fixed by #904

Comments

@commonsuppliz
Copy link

I am trying to js html5 complie code at http://codepen.io/waisbren89/pen/gwvVpP

Rhino throws

---------Rhino Evaluator Detail----------
Message: illegal character (#102)
Source :
Details: illegal characterLineNumber :102
Column :26

<script> var s1 = `hsla(222,100%,11%,11)`; document.write(s1); </script>

This works in Chrome, Firefox and Edge.
Rhino needs to handle 'START OF GUARDED AREA' (U+0096) correctly.

@sainaen
Copy link
Contributor

sainaen commented Dec 23, 2017

This is a duplicate of #325.
Character with a code 0x60 (or U+0060, U+ notation is also in hex) is a grave accent or a backtick. It's a part of Template Literals feature that is not supported by Rhino right now.

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 a pull request may close this issue.

3 participants