Questions tagged [iso]

The International Organization for Standardization is a union of national standardization organizations out of more than 150 countries elaborating standards in nearly all sectors excepted electrics and telecommunications.

1064 questions
44
votes
4 answers

Are there any plans for a future C standard after C11?

I searched on the open standards website, particularly the C working group homepage but only found information about C11. They seem to have regular meetings and discuss different features and extensions, but they never actually mention a future C…
Jens
  • 5,767
  • 5
  • 54
  • 69
44
votes
2 answers

ISO to datetime object: 'z' is a bad directive

I am trying to convert ISO to datetime using the code below: dt = datetime.datetime.strptime("2013-07-23T15:10:59.342107+01:00", "%Y-%m-%dT%H:%M:%S.%f%z") and I'm getting the error below: 'z' is a bad directive in…
user2667326
  • 505
  • 1
  • 5
  • 7
39
votes
6 answers

Converting an ISO 8601 timestamp into an NSDate: How does one deal with the UTC time offset?

I'm having trouble converting an ISO 8601 timestamp into an NSDate. I tried to use NSDateFormatter, but I can't get it to work with the UTC time offset that appears on the end of the timestamps. To explain, I would like to convert a timestamp such…
EJV
  • 1,009
  • 1
  • 10
  • 17
36
votes
2 answers

What standard do language codes of the form "zh-Hans" belong to?

Through the REST API of an application, I receive language codes of the following form: ll-Xxxx. two lowercase letters languages (looks like ISO 639-1), a dash, a code going up to four letters, starting with an uppercase letter (looks like an…
Anto
  • 6,806
  • 8
  • 43
  • 65
35
votes
2 answers

What is the __STDC_VERSION__ value for C11?

I know that compilers use __STDC__ to indicate that a compiler is standard C and, from, there, you can use __STDC_VERSION__ to figure out which level of the standard you're using. I also know that C90 had no value, C90 amendment 1 had 199401L and…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
35
votes
8 answers

How to build a CD ISO image file from the windows command line?

In an effort to satisfy "The Joel Test" question #2 "Can you make a build in one step?", I'm trying to complete a release candidate build script with the creation of a CD iso from the collection of files gathered and generated by the installer…
Peter
  • 1,488
  • 2
  • 17
  • 23
32
votes
6 answers

Normalizing Human Skin Colors for User Interaction

A while ago I came across this answer that introduced me to the obscure (at least for me) ISO 5218: a standard for representing human sexes (or is it genders? - thanks @Paul). For a pet project I'm working on I need my database schema to store the…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
32
votes
4 answers

Convert ISO 8601 to NSDate

I have a timestamp coming from server that looks like this: 2013-04-18T08:49:58.157+0000 I've tried removing the colons, I've tried all of these: Converting an ISO 8601 timestamp into an NSDate: How does one deal with the UTC time offset? Why…
random
  • 8,568
  • 12
  • 50
  • 85
31
votes
2 answers

GCC options for strictest C code?

What GCC options should be set to have GCC as strict as possible? (and I do mean as strict as possible) I'm writing in C89 and want my code to be ANSI/ISO compliant.
user1149305
29
votes
3 answers

Why iconv cannot convert from utf-8 to iso-8859-1

My system is SUSE Linux Enterprise Server 11. I'm trying to convert a data from utf-8 format to iso useing "iconv" $>file test.utf8 test.utf8: UTF-8 Unicode text, with very long lines $> $>file -i test.utf8 test.utf8: text/plain…
Łukasz Bensz
  • 391
  • 1
  • 3
  • 5
28
votes
2 answers

Is C++03 a new version of the C++ Standard or just a Technical Corrigendum (TC) of C++98?

I'm pretty sure I read on an authoritative source somewhere (I believe it was on the WG21 pages) that C++03 was not a technical corrigendum of C++98 but that it was a new release of the C++ Standard. But nontheless I see only -std=c++98 switch in…
Johannes Schaub - litb
  • 496,577
  • 130
  • 894
  • 1,212
27
votes
3 answers

ISO Standard Street Addresses?

Is there an ISO standard address format? I can't seem to find one, and I'd like to know for object- and database-design purposes. (One interesting document that shows a bunch of formats is this:…
anonymous
  • 273
  • 1
  • 3
  • 4
27
votes
3 answers

Are notes and examples in the core language specification of the C++ Standard non-normative?

Often on SO (and elsewhere) I have seen the claim that notes and examples in the C++ Standard are not normative - I have probably made this claim myself a few times. However, I could not find evidence of this fact in the core language specification…
Andy Prowl
  • 124,023
  • 23
  • 387
  • 451
26
votes
3 answers

Do minor currency units have a ISO standard?

ISO 4217 defines 3-letter currency symbols: EUR USD LKR GBP Do currencies' minor units (cent, pence) have a ISO or similar standard, too, that defines codes for those sub-units like ct p ?
Pekka
  • 442,112
  • 142
  • 972
  • 1,088
26
votes
5 answers

Which ISO format should I use to store a user's language code?

Should I use ISO 639-1 (2-letter abbreviation) or ISO 639-2 (3 letter abbrv) to store a user's language code? Both are official standards, but which is the de facto standard in the development community? I think ISO 639-1 would be easier to…
John Himmelman
  • 21,504
  • 22
  • 65
  • 80
1
2
3
70 71