How and why was the rectangle settled upon as the shape for all national flags?

by WileECyrus

There are lots of other practical and possible shapes, whether in the form of squares, far narrower/longer rectangles, or tapering triangular pennants. How did the modern standard come about, and how in the world did someone apparently get every nation in the world to abide by it?

inormallyjustlurkbut

Not every nation. The Swiss and Vatican City flags are square. Nepal's flag is a jagged double pennant.

these_old_bones
Searocksandtrees