spolu/node-dynamodb — Issue #9: putItem with accented characters
Author: phstc
Created: 2012-01-25 15:56:40+00:00
State: open

Hello!

I'm trying to add an item with accented characters

var item1 = { date: (new Date).getTime(),
sha: '3d2d69633ffa5368c7971cf15c91d2eb',
city: 'São Paulo',
};

ddb.putItem('test', item1, {}, function(err, res, cap) {
if(err)
console.log(err);
else {
console.log('PutItem: ' + cap);
console.log(res);
}
});

The DDB returns

{ [Error: PutItem [400]: com.amazon.coral.service#SerializationException]
data: { __type: 'com.amazon.coral.service#SerializationException' } }

How can I put an accented attribute?

Cheers