Re: [swift-corelibs-dev] Locale formatting (UAMeasureFormat)

2016-01-05 Thread Philippe Hausler via swift-corelibs-dev
Length, Energy and Mass formatters should definitely use the ICU backing. It might be a good idea to funnel them all into one unit formatter access point. I personally find it is sometimes easier to interface to C APIs in C and expose them back up as simple funnel methods but it depends on which

[swift-corelibs-dev] Locale formatting (UAMeasureFormat)

2016-01-05 Thread Johan Jensen via swift-corelibs-dev
I was having a quick look at implementing some of the not-yet-implemented formatters but quickly realized that some of them are highly locale dependent. After a quick look I found uameasureformat.h