This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
I'm consuming a JSON service wich returns umlauts (ä,ö,ü) in some filed names. Binding them leads to a lexer Error.
Error: Lexer Error: Unexpected next character at columns 4-4 [ä] in expression [Einsätze].
at Error (<anonymous>)
at throwError (http://code.angularjs.org/angular-1.0.1.js:5646:11)
at lex (http://code.angularjs.org/angular-1.0.1.js:5610:9)
at parser (http://code.angularjs.org/angular-1.0.1.js:5803:16)
at http://code.angularjs.org/angular-1.0.1.js:6387:29
at http://code.angularjs.org/angular-1.0.1.js:4767:27
at addTextInterpolateDirective (http://code.angularjs.org/angular-1.0.1.js:4399:27)
at collectDirectives (http://code.angularjs.org/angular-1.0.1.js:3901:11)
at compileNodes (http://code.angularjs.org/angular-1.0.1.js:3791:21)
at compileNodes (http://code.angularjs.org/angular-1.0.1.js:3799:14)
The lexer currently only supports:
function isIdent(ch) {
return 'a' <= ch && ch <= 'z' ||
'A' <= ch && ch <= 'Z' ||
'_' == ch || ch == '$';
}
It would be great if we could expand this function to accept a wider range of input. Maybe unicode.
I'll try to come up with a pull request.