countryinfo_t

Contains native language support (locale) information.

Service:NetWare Platform

Structure

  #include <netware.h>
  
  typedef struct
  {
     unsigned char    infoID;
     unsigned short   size;
     unsigned short   countryID;
     unsigned short   codePage;
     unsigned short   dateFormat;
     char             currencySymbol[5];
     char             thousandSeparator[2];
     char             decimalSeparator[2];
     char             dateSeparator[2];
     char             timeSeparator[2];
     char             currencyFormatFlags;
     char             digitsInCurrency;
     char             timeFormat;
     void             (*UpperCase)();
     char             dataListSeparator[2];
     char             spare[10];
  } countryinfo_t;
  

Fields

infoID

Reserved.

size

Reserved.

countryID

Contains the country ID, using one of the values below:

  • 1 united states
  • 2 canada french
  • 3 latin america
  • 4 canada english
  • 7 russia
  • 27 south africa
  • 30 greece
  • 31 netherlands
  • 32 belgium
  • 33 france
  • 34 spain
  • 36 hungary
  • 38 yugoslavia
  • 39 italy
  • 40 romania
  • 41 switzerland
  • 42 czech republic
  • 43 austria
  • 44 united kingdom
  • 45 denmark
  • 46 sweden
  • 47 norway
  • 48 poland
  • 49 germany
  • 52 mexico
  • 54 argentina
  • 55 brazil
  • 56 chile
  • 57 colombia
  • 58 venezuela
  • 60 malaysia
  • 61 australia
  • 61 international english
  • 64 new zealand
  • 65 singapore
  • 81 japan
  • 82 korea
  • 86 people’s republic of china
  • 88 taiwan
  • 90 turkey
  • 51 portugal
  • 353 ireland
  • 354 iceland
  • 355 albania
  • 358 finland
  • 359 bulgaria
  • 381 montenegro
  • 381 serbia
  • 384 croatia
  • 386 slovenia
  • 387 bosnia
  • 387 bosnia herzegovina
  • 389 macedonia
  • 421 slovakia
  • 593 ecuador
  • 785 arabia
  • 852 hong kong
  • 972 israel
codePage

Contains the ID for the code page. For a list of supported values, see Supported Code Pages in Volume 1.

dateFormat

Reserved.

currencySymbol

Contains the symbol used for currency.

thousandSeparator

Contains the character used to separate groups of digits to the left of the decimal point.

decimalSeparator

Contains the character used as a decimal in monetary quantities.

dateSeparator

Contains the character used to separate days, months, and years.

timeSeparator

Contains the character used to separate hours, minutes, and seconds.

currencyFormatFlags

Indicates whether the currency symbol precedes or follows a monetary quantity and whether the currency symbol is separated by a space from a monetary quantity.

digitsInCurrency

Specifies the number of fractional digits to display in a monetary quantity.

timeFormat

Reserved.

UpperCase

Reserved.

dataListSeparator

Reserved.

spare

Reserved for future use.