How do I get UTF-8 support on my API? At the moment, a string outputs like this:
name: "John D�m"
Instead of:
name: "John Döm"
Checkout app.js below:
var express = require('express'),
driver = require('./driver');
var app = express();
app.configure(function () {
app.use(express.logger('dev'));
app.use(express.bodyParser());
});
app.get('/drivers', driver.findAll);
app.listen(3000);
console.log('Up: http://127.0.0.1:3000/');
driverdo? The code you've provided is standard boilerplate and doesn't really help.drivergrabs all drivers from a mongoDB and prints all data out. See link here: xn--billstrm-t4a.se:1337driver = require('./driver');Is pretty much the same as this one: gist.github.com/ccoenraets/3819468#file-wines-js