L2/01-109 narrative

C locale, Narrative Cultural Specification

Users: general, applications: general
Source: ISO/IEC JTC1/SC22/WG14 - C
Token identifier: c,_1.2
POSIX-locale: c,_1.2

Clause 1: Alphanumeric deterministic ordering

Ordering in the standard C locale is according to the code point order of ISO/IEC 646:1993.

Clause 2: Classification of characters

The C locale uses normal classification of characters, such as letters, digits, punctuation and control characters, and letters are mapped between uppercase and lowercase.

Clause 3: Numeric formatting

The decimal separator is FULL STOP <.>
The thousands separator is void.
There is no grouping of large numbers.

Clause 4: Monetary formatting

The monetary formatting is not specified, as this specification should be usable in many international environments.

Clause 5: Date and time conventions

The weekday and month names are written with English names.

Weekday name

Short weekday name

Sunday

Sun

Monday

Mon

Tuesday

Tue

Wednesday

Wed

Thursday

Thu

Friday

Fri

Saturday

Sat

 

 

 

 

Month name

Short month name

January

Jan

February

Feb

March

Mar

April

Apr

May

May

June

Jun

July

Jul

August

Aug

September

Sep

October

Oct

November

Nov

December

Dec

 

 

 

Abbreviated day and time:

Tue Jun  7 23:22:33 1994

Numeric date:

06/23/99

Time:

18:06:20

12-hour time:

06:06:20 PM

 

 

The abbreviations used for before or after noon are "AM" and "PM" respectively.

Clause 6: Affirmative and negative answers

Yes expressions: strings starting with

"Y" or "y"

(= Yes)

No expressions: strings starting with

"N" or "n"

(= No)

 

 

 

End of Narrative Cultural Specification.