node.js - How to response non-latin characters in AWS lambda? -


update oct 12:

the issue fixed now. see this post in aws forum details.


i wrote nodejs function respond chinese characters. respond wrong characters.

exports.handler = function(event, context) {     context.succeed('hello 世界!'); }; 

the function result becomes:

"hello ������������!" 

i came across problem when wrote function parse chinese websites , retrieve page titles. manage convert them utf-8 (i used needle request), , console.log(title) correctly display chinese characters. result context.succeed() shows example above. should deal these non-latin characters when responding result?

from aws support (august 10, 2015):

thank reaching out aws support question lambda , utf-8.

we presently researching issue other customers have brought our attention. there no eta on when resolved or if can resolve.


Comments