LOCALES: The iso_8859_1 locale cannot be set as an LC_ALL or LANG locale (Doc ID 1008722.1)

Last updated on MAY 18, 2016

Applies to:

Solaris SPARC Operating System - Version 8.0 and later
All Platforms
***Checked for relevance on 13-Jan-2014***

Symptoms

The iso_8859_1 locale cannot be set as an LC_ALL or LANG locale, when attempting to set the iso_8859_1 as a locale an error is seen:

In csh:

% setenv LANG iso_8859_1

Locale could not be set properly

 

% setenv LC_ALL iso_8859_1

Locale could not be set properly

 

% locale

LANG=iso_8859_1

LC_CTYPE="C"

LC_NUMERIC="C"

LC_TIME="C"

LC_COLLATE="C"

LC_MONETARY="C"

LC_MESSAGES="C"

LC_ALL=iso_8859_1

 

In sh and ksh:

$ LANG=iso_8859_1

couldn't set locale correctly

 

$ LC_ALL=iso_8859_1

couldn't set locale correctly

 

$ locale

LANG=C

LC_CTYPE="C"

LC_NUMERIC="C"

LC_TIME="C"

LC_COLLATE="C"

LC_MONETARY="C"

LC_MESSAGES="C"

LC_ALL=

 

However, the locale command shows this as an available locale.

% locale -a

tr

C

iso_8859_1

da.ISO8859-15

de.ISO8859-15

de_AT.ISO8859-15

el.sun_eu_greek

en_IE.ISO8859-15

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms