- ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Re: ORACLE и параметр NLS_LANG
- Oracle set up default NLS_LANG
- 2 Answers 2
- 2 Setting Up an NLS Environment
- Setting NLS Parameters
- Choosing a Locale with NLS_LANG
- Specifying NLS_LANG
- NLS_LANG Examples
- Overriding Language and Territory Specifications
- NLS Database Parameters
- Checking NLS Parameters
- NLS Views
- OCI Functions
- Language and Territory Parameters
- NLS_LANGUAGE
- NLS_TERRITORY
- ALTER SESSION
- Messages and Text
- Time Parameters
- Date Parameters
- Date Formats
- NLS_DATE_FORMAT
- Year 2000 Issues
- Date Formats and Partition Bound Expressions
- NLS_DATE_LANGUAGE
- Calendar Parameter
- Calendar Formats
- First Day of the Week
- First Calendar Week of the Year
- First Year of Era
- NLS_CALENDAR
- Numeric Parameters
- Numeric Formats
- NLS_NUMERIC_CHARACTERS
- Monetary Parameters
- Currency Formats
- NLS_CURRENCY
- NLS_ISO_CURRENCY
- NLS_DUAL_CURRENCY
- NLS_MONETARY_CHARACTERS
- NLS_CREDIT
- NLS_DEBIT
- Collation Parameters
- Sorting Order
- Sorting Character Data
- Binary Sorts
- Linguistic Sorts
- Linguistic Indexes
- Multiple Linguistic Indexes
- Requirements for Linguistic Indexes
- Case-Insensitive Search
- Linguistic Special Cases
- NLS_SORT
- NLS_COMP
- NLS_LIST_SEPARATOR
- Character Set Parameters
- NLS_NCHAR
ORACLE и параметр NLS_LANG
Установил Oracle Database Express Edition, но не могу найти где поменять настройку параметра NLS_LANG?
Re: ORACLE и параметр NLS_LANG
Ну а просто сказать — export NLS_LANG=.. . не пробовал?
Re: ORACLE и параметр NLS_LANG
Пытаюсь сделать connect к удаленной БД в SQL*Plus, а она выдает
SQL> connect system/oracle@192.168.15.147/fis8_1p
ERROR:
ORA-00604: ЮиШСЪР ЭР аХЪгабШТЭЮЬ SQL-гаЮТЭХ 1
ORA-12705: ГЪРЧРЭЮ ЭХТХаЭЮХ ШЫШ ЭХШЧТХбвЭЮХ
ЧЭРзХЭШХ ЯРаРЬХваР NLS
Re: ORACLE и параметр NLS_LANG
Re: ORACLE и параметр NLS_LANG
]$ env
SSH_AGENT_PID=8655
HOSTNAME=localhost.localdomain
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
KDE_NO_IPV6=1
NLS_LANG=AMERICAN_AMERICA.CL8MSWIN1251
GTK_RC_FILES=/etc/gtk/gtkrc:/home/sash/.gtkrc-1.2-gnome2
WINDOWID=52431483
USER=SOZ
JRE_HOME=/usr/java/jdk1.5.0_11/jre
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORACLE_SID=XE
SSH_AUTH_SOCK=/tmp/ssh-EOXPom8598/agent.8598
GNOME_KEYRING_SOCKET=/tmp/keyring-cQwjS8/socket
KDEDIR=/usr
USERNAME=SOZ
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/8598
PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/kerberos/bin:/ usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/pavcl/usr/bin:/home/sash/bin:/us r/bin
DESKTOP_SESSION=default
MAIL=/var/spool/mail/SOZ
JAVA_BINDIR=/usr/java/jdk1.5.0_11/bin
GDM_XSERVER_LOCATION=local
PWD=/home/sash
INPUTRC=/etc/inputrc
XMODIFIERS=@im=none
JAVA_HOME=/usr/java/jdk1.5.0_11
LANG=ru_RU.UTF-8
KDE_IS_PRELINKED=1
SDK_HOME=/usr/java/jdk1.5.0_11
GDMSESSION=default
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=3
HOME=/home/sash
JDK_HOME=/usr/java/jdk1.5.0_11
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=SOZ
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-E6LXsJD1xA,guid=a89dfaab9234605 012ecbd004639aed1
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/tmp/.gdmEFMGRT
JAVA_ROOT=/usr/java/jdk1.5.0_11
_=/usr/bin/env
[SOZ@localhost
Re: ORACLE и параметр NLS_LANG
Re: ORACLE и параметр NLS_LANG
параметр LANG=ru_RU.UTF-8 не игоает роли, я его устанавливал как en_US.UTF-8. Это ничего не дало.
Если я стартую SQL*Plus через терминал (командную строку) то соединение проходит нормально.
Если стармую из меню выбором пункта меню «Run SQL Command Line» то получаю
SQL*Plus: Release 10.2.0.1.0 — Production on Пт Май 4 10:09:58 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn system/oracle@192.168.15.147/fis8_1p
ERROR:
ORA-00604: ЮиШСЪР ЭР аХЪгабШТЭЮЬ SQL-гаЮТЭХ 1
ORA-12705: ГЪРЧРЭЮ ЭХТХаЭЮХ ШЫШ ЭХШЧТХбвЭЮХ
ЧЭРзХЭШХ ЯРаРЬХваР NLS
Re: ORACLE и параметр NLS_LANG
Вы ответ на свой вопрос потрудитесь понять.
Выше уже отметили, что проблема в рассогласование внешних переменных
LANG и NLS_LANG
Переменная ORACLE NLS_LANG определяет какая кодировка установлена в среде функционирования КЛИЕНТА (в данном случае кодировка окружения в котором запускается sqlplus).
Если имеете в системе LANG=ru_RU.UTF-8 или LANG=en_US.UTF-8, то необходимро выставлять NLS_LANG=AMERICAN_CIS.UTF8 либо NLS_LANG=RUSSIAN_CIS.UTF8
В некоторых модулях доступа (например до php-oci8-4.3.9-3.22.4) есть ошибка приводящая к обрезанию значений текстовых полей при получении данных в случае когда сама база в однобайтовой кодировке а клиент в UTF8.
Re: ORACLE и параметр NLS_LANG
]$ echo $LANG
ru_RU.UTF-8
[SOZ@localhost
]$ echo $NLS_LANG
RUSSIAN_CIS.UTF8
[SOZ@localhost
SQL*Plus: Release 10.2.0.1.0 — Production on Пт Май 4 15:45:30 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn system/oracle@fis8_1p
ERROR:
ORA-00604: ЮиШСЪР ЭР аХЪгабШТЭЮЬ SQL-гаЮТЭХ 1
ORA-12705: ГЪРЧРЭЮ ЭХТХаЭЮХ ШЫШ ЭХШЧТХбвЭЮХ
ЧЭРзХЭШХ ЯРаРЬХваР NLS
Re: ORACLE и параметр NLS_LANG
Аосмотрел какой файл запускается из меню и запустил его из терминала
]$ sh /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/runsqlplus.sh
[SOZ@localhost
Результат тот-же т.е.
SQL*Plus: Release 10.2.0.1.0 — Production on Пт Май 4 15:28:07 2007
Copyright © 1982, 2005, Oracle. All rights reserved.
SQL> conn system/oracle@fis8_1p
ERROR:
ORA-00604: ЮиШСЪР ЭР аХЪгабШТЭЮЬ SQL-гаЮТЭХ 1
ORA-12705: ГЪРЧРЭЮ ЭХТХаЭЮХ ШЫШ ЭХШЧТХбвЭЮХ
ЧЭРзХЭШХ ЯРаРЬХваР NLS
А вот запускаю из терминала SQL*Plus
SQL*Plus: Release 10.2.0.1.0 — Production on Fri May 4 15:31:02 2007
Copyright © 1982, 2005, Oracle. All rights reserved.
Enter user-name: system
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 — Production
SQL> conn system/oracle@fis8_1p
Connected.
SQL>
Источник
Oracle set up default NLS_LANG
I am running Oracle database 11g on RHEL6. If is no client NLS_LANG set the length of some utf8 character is 2. After NLS_LANG=AMERICAN_AMERICA.UTF8 is set the length is only 1. How can bet the default NLG_LANG changed for whole database? I don’t want to change this value only for session, or like enviromental variable in linux. Is there any possibility to set it general for database?
Many thanks for any idea
2 Answers 2
This is what probably happens:
- Your client character set must be something like CP1252 or ISO-8859-15 whereas in fact your client really uses UTF8.
- In this character set (UTF8), the symbol á takes two bytes, so your client send these two bytes, while telling Oracle to treat these as CP1252. In CP1252 the two bytes code for two characters which result in the DB interpreting the input as two characters, therefore length(‘à’) equals 2 (and if you insert this string the result of the insert is not equals to à )
- When you correctly set the character set, the input is correctly treated by oracle as a single character, and its length is 1 (still two bytes).
Conclusion: set your client character set properly or you will get translation errors (you won’t get illegal characters this way but you may get strange symbols ( ¿ ).
The database character set is set at the time of creation and is generally changed via export/create blank database/import.
Since the database character set is AL32UTF8, when you set the client NLS_LANG to UTF8, you are telling Oracle to bypass the character set conversion that normally takes place when data is transmitted between the client and the server. That is extremely dangerous because it means that if the client sends data in any other encoding, there is a substantial risk that invalid data will be stored in the database. In this case, the LENGTH call that returns 1 is sending incorrectly encoded data to the database. Most likely, the client operating system represents data using something like the ISO-8859-1 character set where á is a single-byte character (binary value 0xE1). When the client sends the data to the database, it is sending the 0xE1 and telling the database «trust me, this is valid UTF-8 data». The database doesn’t bother to check the binary data to notice that 0xE1 is not a valid binary representation of any character in the UTF-8 character set. But now if some other client comes along that is correctly configured and asks for character set translation to take place and the database has a 0xE1 stored in some column, the character set conversion code will run, identify that 0xE1 is not a valid UTF-8 character, and return a replacement character (generally ‘?’) rather than á to the correctly configured client.
Since the database character set is UTF-8, you would expect that an ‘á’ character would have a length of 2. UTF-8 is a variable-width character set. Characters that are part of the US7ASCII character set are represented with 1 byte, most Western European characters such as the ‘á’ are represented using 2 bytes, and most Asian characters are represented using 3 bytes. There are a few rare characters that require 4 bytes.
Your NLS_LANG needs to be set to match the character set that your client system supports. It is rare that you’d have a client system that has native UTF-8 support. Since your client setting will override anything set at the database level, that means that each client needs to be configured to set an appropriate environment variable. There is a section in the NLS_LANG FAQ on how to determine the correct NLS_LANG setting for a Unix client.
Источник
2
Setting Up an NLS Environment
This chapter tells how to set up an NLS environment, and includes the following topics:
Setting NLS Parameters
NLS parameters determine the locale-specific behavior on both the client and the server. There are four ways to specify NLS parameters:
As initialization parameters on the server. You can include parameters in the initialization parameter file to specify a default session NLS environment. These settings have no effect on the client side; they control only the server’s behavior. For example:
As environment variables on the client. You can use NLS parameters to specify locale-dependent behavior for the client, and also override the defaults set for the session in the initialization file. For example, on a UNIX system:
As ALTER SESSION parameters . NLS parameters set in an ALTER SESSION statement can be used to override the defaults set for the session in the initialization file, or set by the client with environment variables.
For a complete description of ALTER SESSION, see Oracle8i SQL Reference .
As a SQL function parameter . NLS parameters can be used explicitly to hardcode NLS behavior within a SQL function. Doing so will override the defaults set for the session in the initialization file, the client with environment variables, or set for the session by ALTER SESSION. For example:
The database character set and the national character set are specified in the CREATE DATABASE statement. For a complete description of CREATE DATABASE, see Oracle8i SQL Reference .
Table 2-1 shows the precedence order when using NLS parameters. Higher priority settings will override lower priority settings. For example, a default value will have the lowest possible priority, and can be overridden by any other method. And explicitly setting an NLS parameter within a SQL function can override all other settings — default, initialization parameter, environment variable, and ALTER SESSION parameters.
Table 2-1 Parameters and Their Priorities
Explicitly set in SQL functions
Set by an ALTER SESSION statement
Set as an environment variable
Specified in the initialization parameter file
Table 2-2 lists the NLS parameters available with the Oracle server.
Table 2-2 Parameters and their Scope
Parameter | Description | Default | Scope (I= INIT.ORA, E= Environment Variable, A= Alter Session) |
The three arguments of NLS_LANG can be specified in many combinations, as in the following examples:
Note that illogical combinations could be set, but would not work properly. For example, the following tries to support Japanese by using a Western European character set:
Because WE8DEC does not support any Japanese characters, the result is that you would be unable to store Japanese data.
Specifying NLS_LANG
You can set NLS_LANG as an environment variable at the command line. For example, on UNIX, you could specify the value of NLS_LANG by entering the following line at the prompt:
NLS_LANG Examples
Because NLS_LANG is an environment variable, it is read by the client application at startup time. The client communicates the information defined by NLS_LANG to the server when it connects to the database server.
The following examples show how date and number formats are affected by NLS_LANG.
If NLS_LANG is set with the language as French, the territory as France, and the character set as Western European 8-bit ISO 8859-1, the same query returns:
Overriding Language and Territory Specifications
NLS_LANG sets the language and territory environment used by both the server session (for example, SQL command execution) and the client application (for example, display formatting in Oracle tools). Using this parameter ensures that the language environments of both database and client application are automatically the same.
The language and territory components of NLS_LANG set the default values for the other NLS parameters, such as date format, numeric characters, and collation. Each of these detailed parameters can be set in the client environment to fine-tune the language and territory defaults.
Note that NLS parameters in the client environment are ignored if NLS_LANG is not set.
If NLS_LANG is not set, the server session environment remains initialized with values of NLS_LANGUAGE, NLS_TERRRITORY, and other NLS instance parameters from the initialization parameter file. You can modify these parameters and restart the instance to change the defaults.
You might want to modify your NLS environment dynamically during the session. To do so, you can use NLS_LANGUAGE, NLS_TERRITORY and other NLS parameters in the ALTER SESSION statement.
The ALTER SESSION statement modifies only the session environment. The local client NLS environment is not modified, unless the client explicitly retrieves the new settings and modifies its local environment. SQL*Plus is an example of an application that does it; Oracle Developer is an example of an application that does not do this.
NLS Database Parameters
When a new database is created during the execution of CREATE DATABASE statement, the NLS database environment is established. The current NLS instance parameters, as defined by the initialization parameter file, are stored in the Data Dictionary along with the database and national character sets.
Checking NLS Parameters
You can find the values for NLS settings with some views and an OCI function call.
NLS Views
Applications can check the current session, instance and database NLS parameters by querying the following Data Dictionary views:
NLS_SESSION_PARAMETERS shows the current NLS parameters of the session querying the view.
NLS_INSTANCE_PARAMETERS shows the current NLS parameters of the instance, that is, NLS parameters read from the initialization file (INIT.ORA) at instance startup. The view shows only parameters that were explicitly set.
NLS_DATABASE_PARAMETERS shows the current NLS parameters of the database, including the database character set.
V$NLS_VALID_VALUES can be used to see which language, territory, linguistic and character set definitions are supported by the server.
See Oracle8i Reference for further details.
OCI Functions
To allow user applications to query client NLS settings Oracle8i OCI contains the OCINlsGetInfo function. See Chapter 5, «OCI Programming», for the description of this function.
Language and Territory Parameters
NLS_LANGUAGE and NLS_TERRITORY parameters are general NLS parameters describing NLS behavior of locale-dependent operations.
NLS_LANGUAGE
String
Initialization Parameter and ALTER SESSION
Derived from NLS_LANG
NLS_LANGUAGE specifies the default conventions for the following session characteristics:
language for server messages
language for day and month names and their abbreviations (specified in the SQL functions TO_CHAR and TO_DATE)
symbols for equivalents of AM, PM, AD, and BC
default sorting sequence for character data when ORDER BY is specified (GROUP BY uses a binary sort, unless ORDER BY is specified)
affirmative/negative response strings
The value specified for NLS_LANGUAGE in the initialization file is the default for all sessions in that instance.
For example, to specify the default session language as French, the parameter should be set as follows:
In this case, the server message
Messages used by the server are stored in binary-format files that are placed in the ORA_RDBMS directory, or the equivalent. Multiple versions of these files can exist, one for each supported language, using the filename convention
For example, the file containing the server messages in French is called ORAF.MSB, with «F» being the language abbreviation for French.
Messages are stored in these files in one specific character set, depending on the language and operating system. If this is different from the database character set, message text is automatically converted to the database character set. If necessary, it will be further converted to the client character set if it is different from the database character set. Hence, messages will be displayed correctly at the user’s terminal, subject to the limitations of character set conversion.
The default value of NLS_LANGUAGE may be operating system-specific. You can alter the NLS_LANGUAGE parameter by changing the value in the initialization file and then restarting the instance.
For more information on the default value, see your operating system-specific Oracle documentation.
The following examples show behavior before and after setting NLS_LANGUAGE.
NLS_TERRITORY
String
Initialization Parameter and ALTER SESSION
Derived from NLS_LANG
NLS_TERRITORY specifies the conventions for the following default date and numeric formatting characteristics:
decimal character and group separator
local currency symbol
ISO currency symbol
dual currency symbol
credit and debit symbol
The value specified for NLS_TERRITORY in the initialization file is the default for the instance. For example, to specify the default as France, the parameter should be set as follows:
In this case, numbers would be formatted using a comma as the decimal character.
You can alter the NLS_TERRITORY parameter by changing the value in the initialization file and then restarting the instance. The default value of NLS_TERRITORY can be operating system-specific.
If NLS_LANG is specified in the client environment, the initialization file value is overridden already at the connection time.
The territory can be modified dynamically during the session by specifying the new NLS_TERRITORY value in an ALTER SESSION statement. Modification of NLS_ TERRITORY resets all derived NLS session parameters to default values for the new territory.
To change the territory dynamically to France, the following statement should be issued:
The following examples show behavior before and after setting NLS_TERRITORY.
Note that the symbol for currency units changed, but no monetary conversion calculations were performed. The numeric characters did not change because they were hardcoded by the SQL*Plus statement.
ALTER SESSION
The default values for language and territory can be overridden during a session by using the ALTER SESSION statement. For example:
This feature implicitly determines the language environment of the database for each session. An ALTER SESSION statement is automatically executed when a session connects to a database to set the values of the database parameters NLS_LANGUAGE and NLS_TERRITORY to those specified by the language and territory arguments of NLS_LANG. If NLS_LANG is not defined, no implicit ALTER SESSION statement is executed.
When NLS_LANG is defined, the implicit ALTER SESSION is executed for all instances to which the session connects, for both direct and indirect connections. If the values of NLS parameters are changed explicitly with ALTER SESSION during a session, the changes are propagated to all instances to which that user session is connected.
Messages and Text
All messages and text should be in the same language. For example, when running an Oracle Developer application, messages and boilerplate text seen by the user originate from three sources:
messages from the server
messages and boilerplate text generated by Oracle Forms
messages and boilerplate text defined as part of the application
The application is responsible for meeting the last requirement. NLS takes care of the other two.
Time Parameters
Many different time formats are used throughout the world. Some typical ones are shown in Table 2-3.
Table 2-3 Time Parameters
hh24:mi:ss
hh24:mi:ss
hh24:mi:ss
hh24:mi:ss
hh:mi:ss am
Date Parameters
Oracle allows you to control how dates appear through the use of date parameters.
Date Formats
Many different date formats are used throughout the world. Some typical ones are shown in Table 2-4.
Table 2-4 Date Formats
dd.mm.yyyy
28.02.1998
NLS_DATE_FORMAT
Parameter type: |
Parameter scope: |
Default value: |
Range of values: |
You can alter the default value of NLS_DATE_FORMAT by changing its value in the initialization file and then restarting the instance, and you can alter the value during a session using an ALTER SESSION SET NLS_DATE_FORMAT statement.
Year 2000 Issues
Currently, the default date format for most territories specifies the year format as «RR» to indicate the last 2 digits. If your applications are Year 2000 compliant, you can safely specify the NLS_DATE_FORMAT using «YYYY» or «RRRR». If your applications are not yet Year 2000 compliant, you may wish to specify the NLS_DATE_FORMAT as «RR». The «RR» format will have the following effect: Given a year with 2 digits, RR will return a year in the next century if the year is less than 50 and the last 2 digits of the current year are greater than or equal to 50; return a year in the preceding century if the year is greater than or equal to 50 and the last 2 digits of the current year are less than 50.
See the Date Format Models section in the Oracle8i SQL Reference for full details on Date Format Elements.
Date Formats and Partition Bound Expressions
Partition bound expressions for a date column must specify a date using a format which requires that the month, day, and 4-digit year are fully specified. For example, the date format MM-DD-YYYY requires that the month, day, and 4-digit year are fully specified. In contrast, the date format DD-MON-YY (11-jan-97, for example) is invalid because it relies on the current date for the century.
Use TO_DATE() to specify a date format which requires the full specification of month, day, and 4-digit year. For example:
If the default date format, specified by NLS_DATE_FORMAT, of your session does not support specification of a date independent of current century (that is, if your default date format is MM-DD-YY for example), you must take one of the following actions:
Use TO_DATE() to express the date in a format that requires you to fully specify the day, month, and 4-digit year.
Change the value of NLS_DATE_FORMAT for the session to support the specification of dates in a format which requires you to fully specify the day, month, and 4-digit year.
For more information on using TO_DATE(), see Oracle8i SQL Reference .
NLS_DATE_LANGUAGE
Parameter type: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter scope: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Default value: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Range of values: |
January | 1998 | |||||
---|---|---|---|---|---|---|
Mo | Tu | We | Th | Fr | Sa | Su |
1 | 2 | 3 | 4 | Table 2-7 Day of the Week Example 2 |
January | 1999 | |||||
---|---|---|---|---|---|---|
Mo | Tu | We | Th | Fr | Sa | Su |
1 | 2 | 3 | Number of Days and Months in a Year |
Oracle supports six calendar systems, as well as the default Gregorian.
Japanese Imperial—uses the same number of months and days as Gregorian, but the year starts with the beginning of each Imperial Era.
ROC Official—uses the same number of months and days as Gregorian, but the year starts with the founding of the Republic of China.
Persian—has 12 months of equal length.
Thai Buddha—uses a Buddhist calendar.
Arabic Hijrah—has 12 months with 354 or 355 days.
English Hijrah—has 12 months with 354 or 355 days.
First Year of Era
The Islamic calendar starts from the year of the Hegira. The Japanese Imperial calendar starts from the beginning of an Emperor’s reign. For example, 1998 is the tenth year of the Heisei era. It should be noted, however, that the Gregorian system is also widely understood in Japan, so both 98 and Heisei 10 can be used to represent 1998.
NLS_CALENDAR
Parameter type: | ||||||||||||||||||||||||||||||||||||||||||||||
Parameter scope: | ||||||||||||||||||||||||||||||||||||||||||||||
Default value: | ||||||||||||||||||||||||||||||||||||||||||||||
Range of values: |
Country | Example Numeric Formats | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameter type: | |||||||||||||||||||||||||||||||||||||||
Parameter scope: | |||||||||||||||||||||||||||||||||||||||
Default value: | |||||||||||||||||||||||||||||||||||||||
Range of values: | |||||||||||||||||||||||||||||||||||||||
Parameter type: | ||||||||||||||||||||||||||||||||||||
Parameter scope: | ||||||||||||||||||||||||||||||||||||
Default value: | ||||||||||||||||||||||||||||||||||||
Range of values: |
Parameter type: | |||||||||||||||||||||||||||||||
Parameter scope: | |||||||||||||||||||||||||||||||
Default value: | |||||||||||||||||||||||||||||||
Range of values: | |||||||||||||||||||||||||||||||
Parameter type: | ||||||||||||||||||||||||||||
Parameter scope: | ||||||||||||||||||||||||||||
Default value: | ||||||||||||||||||||||||||||
Range of values: |
Name | Description | Euro Code Value | ||||||||||||||||||||
Parameter scope: | ||||||||||||||||||||||
Default value: | ||||||||||||||||||||||
Range of values: |
Parameter type: | ||||||||||||||||||
Parameter scope: | ||||||||||||||||||
Default value: | ||||||||||||||||||
Range of values: |
Parameter type: | ||||||||
Parameter scope: | ||||||||
Default value: | ||||||||
Range of values: | ||||||||
Parameter scope: | ||||||||
Default value: | ||||||||
Range of values: | ||||||||
Parameter scope: | ||||||||
Default value: | ||||||||
Range of values: |
Parameter type: | ||||
Parameter scope: | ||||
Default value: | ||||
Range of values: |
Parameter type: |
Parameter scope: |
Default value: |
Range of values: |