{"id":191,"date":"2015-12-02T15:19:40","date_gmt":"2015-12-02T15:19:40","guid":{"rendered":"http:\/\/toolbox.pingvinfeszek.hu\/?p=191"},"modified":"2016-06-11T15:07:18","modified_gmt":"2016-06-11T14:07:18","slug":"ubuntu-vps-utf-8-locale-error","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/ubuntu-vps-utf-8-locale-error\/","title":{"rendered":"Ubuntu VPS UTF-8 locale error"},"content":{"rendered":"

Setting up a VPS in the cloud is the current de facto method of launching services for startups and bigger companies alike. Supposedly, when someone would like to extend the default system locale it’s only a matter of putting the correct values within the correspondent user’s .bashrc<\/b> file and you are good to go!<\/p>\n

However, there is a known bug that prevents us from using our locale out of the box (more on that here<\/a>), so these steps are necessary:<\/p>\n

The main idea is to re-generate the default system locale and based on that we will be able to generate further locales.<\/p>\n

Fire up your terminal of choice and issue the following command:<\/p>\n

sudo locale-gen en_US.UTF-8<\/code><\/p>\n

Followed by:<\/p>\n

sudo dpkg-reconfigure locales<\/code><\/p>\n

Now, you fill out your .bashrc<\/b> with the necessary EXPORT<\/code>s and you’ll be good to go!<\/p>\n","protected":false},"excerpt":{"rendered":"

Setting up a VPS in the cloud is the current de facto method of launching services for startups and bigger companies alike. Supposedly, when someone would like to extend the default system locale it’s only a matter of putting the correct values within the correspondent user’s .bashrc file and you are good to go! However, […]<\/p>\n","protected":false},"author":1,"featured_media":216,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,23],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/191"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":2,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/191\/revisions\/193"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media\/216"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}