I live in South Korea
South Korea web ins't standardization for utf-8
Sometime I receive the "euc-kr" string
So It's occur error
when I used In express 3.x. It made the utf-8 automatically
app.use(express.static(__dirname));
app.use(connect.json());
app.use(connect.urlencoded('utf-8')); <-- this
but now I use express 4.x It do not that
app.use(express.static(path.join(__dirname)));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
So I don't know how to input the urlencoded 'utf-8' option
How to know input the utf-8 option in express 4.x?
app-0 UnsupportedMediaTypeError: unsupported charset "EUC-KR"
app-0 at urlencodedParser (/home/node/Node/node_modules/body-parser/lib/types/urlencoded.js:102:12)
app-0 at Layer.handle [as handle_request] (/home/node/Node/node_modules/express/lib/router/layer.js:95:5)
...