On 2014-01-21 09:53:46, SBECK wrote:
Show quoted text> With respect to your second message:
>
> The free ISO 3166 (alpha-2) list contains the codes you mention, but
> not the UN list.
>
> At a guess, I'd say that the UN has retired them, but ISO 3166 still
> keeps them (which goes back to my previous message about having to
> decide who really is the keeper of the standard).
>
> I'm looking for some official documentation about this.
Thanks. Let me know whether I can help.
I considered just telling $Work that we need to buy ISO 3166-2, but it's the 2006 version and its database form is never updated. Updates are distributed as PDFs, and one has to process those one's self. Good grief! I'd almost be willing to do that, if I knew up front that a machine-readable form could then be redistributed legally. I think it could, but would rather not deal with lawyers to find out. :-/
In the meantime, it seems to me like it's not possible to go from "tw" to "158" even using the "retired" API: Locale::Codes::Country::country2code('Taiwan', 'numeric', 'retired') ==> nothing
Thanks again for your time and work on this!
--
rjbs