I can get cast-web to make google assistant speak norwegian, but not if I include some of the specal characters, (æøå, ÆØÅ).
Doing so results in syntax error in body parser.
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at parse (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\body-parser\lib\types\json.js:89:19)
at C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\body-parser\lib\read.js:121:18
at invokeCallback (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\raw-body\index.js:224:16)
at done (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\raw-body\index.js:213:7)
at IncomingMessage.onEnd (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\raw-body\index.js:273:7)
at IncomingMessage.emit (events.js:182:13)
at endReadableNT (_stream_readable.js:1092:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Why?
I can get cast-web to make google assistant speak norwegian, but not if I include some of the specal characters, (æøå, ÆØÅ).
Doing so results in syntax error in body parser.
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at parse (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\body-parser\lib\types\json.js:89:19)
at C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\body-parser\lib\read.js:121:18
at invokeCallback (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\raw-body\index.js:224:16)
at done (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\raw-body\index.js:213:7)
at IncomingMessage.onEnd (C:\Users\trond\AppData\Local\Programs\cast-web-api-desktop\resources\app\node_modules\raw-body\index.js:273:7)
at IncomingMessage.emit (events.js:182:13)
at endReadableNT (_stream_readable.js:1092:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Why?