With Version 7.20, the GLS feature allows you to specify language specific
'locales' via Informix environment variables.
eg., for ISO-German you could specify at the prompt ...
% DB_LOCALE=de_DE.8859-1
% CLIENT_LOCALE=de_DE.8859-1
% export DB_LOCALE CLIENT_LOCALE
For the 'operating system locales', it could simply be 'de' instead of
de_de.8859-1
eg., % DB_LOCALE=de
% CLIENT_LOCALE=de
% export DB_LOCALE CLIENT_LOCALE
Typically a locale consists of the following attributes or categories ..
o Character classification
o Collation classification
o Numeric formatting
o Currency formatting
o Date and Time formatting.
A locale is of the form language_territory.codeset (ll_tt.codeset). This does
not apply to 'operating system locales'. Note that an 'operating system locale'
is a locale contained in the Informix distribution, and one that is identical
to the locale which is bundled with the os.
As for the display of 8 bit ascii characters, the terminal setting must have
an appropriate stty value ...
% stty cs8 -istrip
will display umlauts or graves etc,. in its character format.
For Japanese or Chinese characters a Kanji or Big5 terminal is required.
--
Bobby
Software Development Engineer.
International Product Development, Servers and Connectivity.
Informix Software Inc, Menlo Park.
On Thu, 17 Oct 1996, Martin Berns wrote:
|Michael Schiffer wrote:
|>
|> We have installed Informix Online Version 7.2 on server with Digital
|> Unix 4.0. Does anyone know which setting must be made to allow the
|> usage of German character set (like '', '''etc.)?
|>
|> Thanks in advance
|>
|> Michael Schiffer
|
|I only have experience with 7.1x on Sun, SNI, ... not on Dec:
|LC_CTYPE=de; export LC_CTYPE
|Have a look at /usr/lib/locale: There should be a directory for each
|language in the above cases called 'de'.
|Tried to EMail you, but run into delivery problems with
|<schi@angie.vil.ditec.de>.
|Will You trie to use NLS (or better GLS - as it is called in 7.2)?
|If Yes would You be so kind to share Your experience?
|We run into serious problems with NLS on 7.1x. First it did not use any
|index on nchar-columns, and 7.13 solves the problem by a
|'full-index-scan' - which is consuming more time than a full-table-scan.
|hth
|martin
|-
|Dr. Materna GmbH | EMail. Martin.Berns@Materna.De
|Martin Berns | Tel.: +49 231/5599-231
|Vosskuhle 37 | FAX: +49 231/5599-574
|D-44141 Dortmund | X.400: S=BERNS;G=MARTIN;P=MATERNA;A=UMI-DE;C=DE
|
|