-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Unicode CLDR gives a list of units: https://github.com/unicode-org/cldr/blob/main/common/supplemental/units.xml
There is also another list of units in a standard called The Unified Code for Units of Measure published by the Regenstrief Institute, which appears to be associated with Indiana University. https://ucum.org/ucum
Of course there is SI itself, published by the BIPM. https://www.bipm.org/en/
@zbraniecki has pointed to the Rust crate uom
which implements the international system of measurements. It's not clear to me where exactly the crate gets its list. https://docs.rs/uom/0.36.0/uom/si/length/index.html
These different lists have different features and were made for different use cases. Unicode CLDR is primarily oriented toward units for human display; it is nominally what we use in ECMA-402 (although ECMA-402 contains only a small subset of it), and one key feature is its support for mixed units such as foot-and-inch
. I am not as familiar with the other systems, so I can't speak as well to their advantages and disadvantages.