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

Johan Jensen jj at johanjensen.dk
Tue Jan 5 15:23:55 CST 2016


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
<https://github.com/apple/swift-corelibs-foundation/blob/88424c8c533ce903d10b8be2a8b9f30a4c2011aa/bootstrap/x86_64-apple-darwin/usr/local/include/unicode/uameasureformat.h>
and uameasfmt_format() which looks quite interesting.
Is it possible to use these functions?
If so, should a Swift wrapper be made?
If not, how is locale dependent formatters expected to be implemented?

— Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160105/4ea7e0c3/attachment.html>


More information about the swift-corelibs-dev mailing list