Language and Country

learn more… | top users | synonyms

0
votes
0answers
49 views

How do I fix my locale settings on Ubuntu 12.04 LTS on my linode?

My Dropbox installation on my linode is failing with the error: ValueError: unknown locale: UTF-8 When I run : locale I get the output: locale: Cannot set LC_CTYPE to default locale: No such ...
1
vote
0answers
209 views

How do I set locale when building an Ubuntu Docker image with Packer?

I'm using packer (packer.io) to build a docker image based on ubuntu 14.04. i.e In my Packer template I have: "builders": [{ "type": "docker", "image": "ubuntu", "commit": true }], and ...
0
votes
1answer
48 views

What does this message 'locale: Cannot set LC_CTYPE to default locale: No such file or directory' mean?

Whenever I do an apt-upgrade on Ubuntu I get this message repeatedly. What do they mean and what needs to be done to remove them? locale: Cannot set LC_CTYPE to default locale: No such file or ...
1
vote
1answer
40 views

SSH locale wrong

I have a debian server with locales set to hu_HU.UTF-8, and if i log in trough console it works perfectly in hungarian. It also worked with ssh logins until i disabled PAM in the sshd config. Since ...
-4
votes
1answer
117 views

Unable to find localedef command on centos6 [closed]

I am on CentOS 6.5 and I am unable to find localedef. I searched on /usr/bin but Ican't find it I don't also know if it comes in a package, i have searched on google and found nothing.
3
votes
2answers
597 views

Linux locale: en_US.UTF-8 vs en_US

I usually config my ubuntu via sudo locale-gen --purge en_US.UTF-8 And I've the installed locales # locale -a C C.UTF-8 en_US.utf8 POSIX Is it okay since I am missing en_US?
1
vote
3answers
136 views

locale-gen with purge does not work

I use the --purge option to remove existing locales before generating new one, but seems cannot remove existing locales? e.g. # locale-gen --purge en_US # locale -a C en_AG en_AU.utf8 en_BW.utf8 ...
1
vote
0answers
32 views

Kerberos credentials cache dates reported differently in Debian Squeeze and Debian Wheezy

I have two Debian servers which use same LDAP/Kerberos server, but dates in output of klist on them shown in different format - mm/dd/yyyy on squeeze vs dd/mm/yy on wheezy. Looks like they just use ...
-4
votes
1answer
29 views

Benefit of data locality

What are the benefits of having a server in a country X for users in X to download data from rather than having the users in X download from a server in country Y? Can you please provide sources of ...
0
votes
1answer
4k views

How to change default region/culture settings in Windows 2012

I have researched this topic through the web but can't find a definitive answer. Our server team has recently upgraded our SQL Servers VMs from Win 2003 to Win 2012. Given our region we run all our ...
0
votes
2answers
2k views

Setting locale in Ubuntu 12.04 (openvz)

I have a fresh installation of Ubuntu 12.04 as virtual openVZ guest. The defined locale for LC_* in basic setup is POSIX. I'd like to change this to en_US.UTF-8. So I installed language_pack_en_base ...
1
vote
1answer
103 views

Server locale C vs en_US.UTF-8

I am considering to change all of my server locale to C by "export LC_ALL=C" Is it a common practice? I am thinking will there be any side effect on a LAMP server, or should I just leave as using ...
0
votes
1answer
888 views

Ubuntu 12.04 strange locale behavior

I'm running Ubuntu 12.04 with Vagrant. And I'm having hard time understanding what's wrong with locales on my system. When I login to my box via ssh $ vagrant ssh and try to run something locale ...
0
votes
3answers
2k views

locale not getting set correctly over ssh connection

I have a debian server with several locales installed, de_DE, en_GB and en_US. I want to be able to login over ssh and get the locale set accordingly (to en_US in my case, different for someone else) ...
0
votes
1answer
426 views

in Ubuntu, what is the difference between en_US:utf8 and en_US: when setting LANGUAGE [duplicate]

related question: for setting locale in ubuntu what does the LANGUAGE environment variable mean for setting locale my existing Ubuntu 12.04 server has LANGUAGE as en_US: And I can set it to ...
0
votes
1answer
747 views

For setting locale in Ubuntu, what does the LANGUAGE environment variable mean?

For setting locale in Ubuntu, what does the LANGUAGE environment variable mean? It is not defined in Ubuntu Community Docs or on man 1 locale. Related question: In Ubuntu, what is the difference ...
3
votes
3answers
3k views

Centos 5.8 locale warning

A friend is running CentOS 5.8 on his server. It's a mostly harmless error but I'm tired of seeing it. I'm more familiar with debian, so I'm not sure how to generate or reconfigure locales. The ...
-1
votes
3answers
1k views

reset locale in debian under Squeeze

I have problems with locale in debian. I tried many thing but it doesn't anything for me : locale -a locale: Cannot set LC_CTYPE to default locale: No such file or directory C POSIX en_US.utf8 I try ...
0
votes
1answer
2k views

Change locale in CentOS 6.3

I want to change locale in CentOs 6.3 to English. But after changing, only root account have English interface... Another user still have Russian interface. But I changed locale to: ...
0
votes
1answer
364 views

Linux CentOs 2.6.18 Setting locale for cronjobs

I have the problem, that I am trying to automate some Informix database job via the crontab. The job runs fine when done via the command line or processed via the at queue, but not via the crontab. ...
0
votes
1answer
252 views

Tomcat not retrieving files with accents after restart

A few days ago I had a problem with an application running on Tomcat, it wasn't able to find files in the filesystem containing accents in the name (like, for example, "reportsandonà.pdf"). I ...
0
votes
1answer
361 views

debian 6 language change system error

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "ru_UA.UTF-8", LANG = "en_US.UTF-8" are supported and ...
0
votes
2answers
1k views

RSYNC from remote to local excluding folders

How can I download from a remote server to local excluding folders or files? I have used something like this but the exclude doesn't work... rsync -avr -P -e ssh --exclude=/path/to/exclude/* ...
0
votes
2answers
758 views

Remove a locale in Ubuntu

I accidentally add a locale, e.g. sudo locale-gen zh_TW e.g. locale -a zh_TW But how to remove it?
2
votes
1answer
2k views

How do you set a locale non-interactively on Debian/Ubuntu?

Usually, I run aptitude -y install locales then dpkg-reconfigure locales to set up locale. Now I want to put it into a shell script, how can I reliably do the following, automatically / ...
2
votes
1answer
3k views

How to set locale in Debian 6.0.3?

How to set locale in Debian 6.0.3? $ locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE=C LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" ...
1
vote
4answers
16k views

How to change my commandline locale after CentOS decided to change it?

So apparently, CentOS decided I was Dutch, and thus, should not have a English locale. Apart from the fact that this greatly bothers me, I am having a pretty hard time actually changing it back. ...
10
votes
8answers
19k views

CentOS 6 and locale error

I just installed CentOS 6 and whenever I login to the system via SSH remotely, I get the following error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) When I type "locale" on ...
1
vote
1answer
4k views

Changing default system locale on CentOS 5

I'm running a CentOS 5 server and the current default locale seems to be always set as: LANG=zh_CN.GB18030 LC_CTYPE="zh_CN.GB18030" LC_NUMERIC="zh_CN.GB18030" LC_TIME="zh_CN.GB18030" ...
4
votes
1answer
1k views

Setting locale failed: force certain locale when connecting through ssh

For years I have had a problem with the "Setting locales failed". I now understood the problem. On my local machine, my LC_TIME is set to a custom file ("custom.UTF-8"). This custom file does not ...
6
votes
8answers
16k views

How to fix locale settings in Debian squeeze

I occasionally get locale errors and I've tried to run dpkg-reconfigure locales to fix the problem. Here's the output: :~$ sudo dpkg-reconfigure locales perl: warning: Setting locale failed. perl: ...
1
vote
2answers
227 views

Recommendation for locale on server: ISO (latin) or UTF-8

What is the recommended locale setting on a server that is used as an web and database server. Are there any drawbacks not using UTF-8 as default?
1
vote
2answers
2k views

Debian Squeeze locale settings

I have a problem with a slightly customised Debian image that I'm trying to do some headless work on. The problem is that the installed locales list has been reduced to this: C en_GB en_GB.iso88591 ...
1
vote
4answers
16k views

How do I change my locale to utf8?

Here's the output of locale: LANG=zh_CN.GBK LC_CTYPE="zh_CN.GBK" LC_NUMERIC="zh_CN.GBK" LC_TIME="zh_CN.GBK" LC_COLLATE="zh_CN.GBK" LC_MONETARY="zh_CN.GBK" LC_MESSAGES="zh_CN.GBK" LC_PAPER="zh_CN.GBK" ...
2
votes
2answers
1k views

IIS 7.5 using Classic ASP converts a boolean value to a string in the local language

I have a Classic ASP application running on a workstation with a Danish version of Windows 7 with IIS 7.5. The problem: When the application writes a boolean as a string, it will write "True" or ...
1
vote
3answers
477 views

Problem with locales after git installation

Hey there :) Some days ago i tried to install git on my Debian system. The instalation aborted and since this moment i get a locales error everytime i try do install/remove something via apt -.- ...
3
votes
5answers
4k views

Fix stubborn 'Setting locale failed.'

I have a very stubborn, well-known locale error on Ubuntu 9.10: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = ...
7
votes
1answer
22k views

Correctly changing default locale in ubuntu server 10.04 LTS?

I got a new server but unfortunately the hoster only installs me Ubuntu 8.04 in german. So the upgrade worked smoothly, but now I am trying to change the system to english. I adapted ...
7
votes
2answers
6k views

Locale-unaware %DATE% and %TIME% in batch files?

The %DATE% and %TIME% environment variables provide the current date and time on Windows machines on the command line and inside a batch file. Sadly, those values are locale-aware! Meaning that, say, ...
0
votes
3answers
2k views

Multiple websites within IIS running with different time zone settings

Is there a way to have multiple websites running within IIS that have different time zone information? For example: The local Windows Server is running in CST. I would like one website (application) ...
1
vote
2answers
6k views

Informix “Database locale information mismatch”

I have informix 11.5 running in my Win-2003 box and few databases running in it. System databases have locale en_us.819 My custom databases have locale en_us.57372 (UTF8). There is also application ...
1
vote
2answers
3k views

How to fix locale settings in debian lenny (minimal)

I have a debian machine running remotely, i tried many ways to fix this locale issue, which is harmless while using apt-get though but because of it my web apps are not functioning properly. I have ...
3
votes
2answers
974 views

Locale setting on a Red Hat box

Recently our organization got a couple of server boxes which are I guess present in some data-center in UK. The problem is that for some reason the default Locale representation in Java on that server ...
4
votes
1answer
958 views

Set default locale on linux server

How can I change linux default locale, so that all users and applications will have the same locale settings? Br, Wolfy
1
vote
1answer
1k views

Character encoding in sql server 2005

Where can I configure (if it's possible) how Sql Server 2005 "interprets" character encoding of string data sent trough TDS protocol (in this case from web application)? Maybe it would be better if ...
6
votes
2answers
10k views

How to get system locale in Windows 7 cmd?

How can I get system locale in Windows 7? I mean something like: cs_CZ.UTF-8 I tried writing "locale" in the command line but that doesn't work in Windows. Any suggestions?
1
vote
1answer
614 views

Pandoc locale problems

I'm trying to generate documentation pdf file with pandoc's markdown2pdf. My source file contains some cyrillic UTF-8 symbols. My system locale is en_US.UTF-8. When run in default locale, ...
1
vote
2answers
622 views

Windows 7 Shortdate Format Ignored

I am moving a copy of an ASP.net web application running on a windows server 2003 box to a Windows 7 Laptop. On the win server 2003 box the locale was set to United States and shortdate format was ...
1
vote
3answers
1k views

How to redirect to a given page depending on the user locale?

Is there a way to redirect an user depending on is browser locale ? For instance, I'd like to redirect to a page called index.en.html all users who doesn't have their browser locale set to French. ...
1
vote
1answer
614 views

Problems with vim/locale as non-root user on Solaris

I do some work on a Solaris 10 machine, and my .vimrc is set up to show unicode characters for tabs and line endings: set listchars=tab:▸\ ,eol:¬ This works out of the box on my OS X machine. On ...