[GH-ISSUE #1182] Use ES-CN as ISO code for Canary Islands #549

Closed
opened 2026-03-03 14:39:17 +03:00 by kerem · 1 comment
Owner

Originally created by @raufaser on GitHub (Nov 19, 2023).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1182

In this list are all the subdivision codes for spain.

The currently used code "IC" is very atypical. To have it aligned with other subdivisions of spain it would be better to use ES-CN.

Originally created by @raufaser on GitHub (Nov 19, 2023). Original GitHub issue: https://github.com/lipis/flag-icons/issues/1182 [In this list](https://www.iso.org/obp/ui/#iso:code:3166:ES) are all the subdivision codes for spain. The currently used code "IC" is very atypical. To have it aligned with other subdivisions of spain it would be better to use ES-CN.
kerem 2026-03-03 14:39:17 +03:00
  • closed this issue
  • added the
    code
    label
Author
Owner

@NotTsunami commented on GitHub (Dec 11, 2023):

I'd argue it's not as atypical as you think. #729 mentions using unicode sequences for matching to flag icons and the unicode sequence for Canary Islands is IC. We only strictly conform to ISO 3166-1 alpha-2 codes, though. In the case of the Canary Islands and Ceuta, Melilla, there's no strict specification (source):

The following two areas not covered by European Union Customs arrangements are also exceptionally reserved ISO 3166-1 alpha-2 codes on the request of the World Customs Organization:

EA Ceuta, Melilla
IC Canary Islands
However, these codes do not correspond in any way to the ISO 3166-2 codes of the territories.`

For now, I'd like to leave them as is for users strictly looking for IC. This was also requested multiple times as IC before it officially got added.

<!-- gh-comment-id:1850694751 --> @NotTsunami commented on GitHub (Dec 11, 2023): I'd argue it's not as atypical as you think. #729 mentions using unicode sequences for matching to flag icons and the unicode sequence for Canary Islands is `IC`. We only strictly conform to ISO 3166-1 alpha-2 codes, though. In the case of the Canary Islands and Ceuta, Melilla, there's no strict specification ([source](https://en.wikipedia.org/wiki/ISO_3166-2:ES#Special_territories)): > The following two [areas not covered by European Union Customs arrangements](https://en.wikipedia.org/wiki/Special_Member_State_territories_and_the_European_Union) are also [exceptionally reserved](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Exceptional_reservations) ISO 3166-1 alpha-2 codes on the request of the [World Customs Organization](https://en.wikipedia.org/wiki/World_Customs_Organization): > EA [Ceuta](https://en.wikipedia.org/wiki/Ceuta), [Melilla](https://en.wikipedia.org/wiki/Melilla) > IC [Canary Islands](https://en.wikipedia.org/wiki/Canary_Islands) > However, these codes do not correspond in any way to the ISO 3166-2 codes of the territories.` For now, I'd like to leave them as is for users strictly looking for IC. This was also requested [multiple times as IC](https://github.com/lipis/flag-icons/issues?q=IC) before it officially got added.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#549
No description provided.