Skip to content

Parse error non ascii char #373

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

Open
kazepoy opened this issue Apr 29, 2025 · 0 comments
Open

Parse error non ascii char #373

kazepoy opened this issue Apr 29, 2025 · 0 comments

Comments

@kazepoy
Copy link

kazepoy commented Apr 29, 2025

Hello!
Expressions with non-ascii char do not parse.

For example :

Input

{
  "mypropé" : "w23q7ca1-8729-24923-922b-1c0517ddffjf1", 
  "type" : "View"
}

jslt

{
  "id" : .mypropé ,
  "type" : "Anonymized-View" 
}

error

com.schibsted.spt.data.jslt.JsltException: Parse error: Lexical error at line 2, column 17.  Encountered: "\u00e9" (233), after : ""
	at com.schibsted.spt.data.jslt.parser.ParserImpl.compileExpression(ParserImpl.java:64)
	at com.schibsted.spt.data.jslt.Parser.compile(Parser.java:226)
	at com.schibsted.spt.data.jslt.Parser.compileString(Parser.java:86)
	at com.schibsted.spt.data.jslt.Parser.compileString(Parser.java:74)
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

No branches or pull requests

1 participant