Thread error with locale settings for utf8 on Windows 7 (1 answers)
Opened by Kaspatoo at 2015-09-01 11:22

guest Kaspatoo
 2015-09-01 11:22
#181996 #181996

I want to execute a pearl script but am getting a warning then:
[msg]perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "de_DE.UTF-8", LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to the system default locale ("German_Germany.1252").[/msg]

The problem is that I need to use UTF8.

Both variables LC_ALL and LANG are set within the ant-script which is executing the pearl-script.
Code: (dl )
  		<env key="LANG" value="de_DE.UTF-8" />
<env key="LC_ALL" value="de_DE.UTF-8" />

My System is Windows 7 x64
My Eclipse is Luna x86 running 32bit Ant.
I tried both Perl Strawberry and Active State on latest Version (5.20 and 5.22) for both x86.

There are not environment variables on windows for LC_ALL and LANG, since they are set within the ant script.

When looking for the problem I found many posts, but unfortunately most only for ubuntu and other linux'. There I found something like gen-locale command which I did not found for Windows.

The Windows Control Panel says I am using german locale and my whole system displays so.

Do I need to "install" the german utf8 locale on windows?
Or do I need to "install" the german utf8 locale for perl?
Am I missing something?

Any help would be appreciated.
Thanks in advance.
Last edited: 2015-09-01 11:33:44 +0200 (CEST)

View full thread error with locale settings for utf8 on Windows 7