F
F
frostspb2019-01-03 17:23:42
Node.js
frostspb, 2019-01-03 17:23:42

How to properly set up locales for node.js?

Good day. The essence of the problem. I am developing an application on Nuxt.js (this is a server-side rendering for Vue) I am trying to export json to csv. When I work locally on my computer everything is fine. When I roll out on a dev server (Ubuntu 16) on a vps csv file arrives all in krakozyabah.
On dev, the application is hidden behind nginx. I suspect that something is not configured correctly on the server
. On the local machine ru_RU ru_RU.UTF-8 At the same time, in the browser, the same data that I export both on the local machine and on the server look normal.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question