[PATCH] D55746: [libcxx] [test] [re.traits] Correct expected values for invalid UTF-8

Marshall Clow via Phabricator reviews at reviews.llvm.org
Mon Dec 17 10:34:27 PST 2018


mclow.lists added a comment.

In D55746#1333237 <https://reviews.llvm.org/D55746#1333237>, @mgorny wrote:

> In D55746#1333210 <https://reviews.llvm.org/D55746#1333210>, @mclow.lists wrote:
>
> > [ It's also possible that different implementations of the locales (part of the C library/OS) are returning different values. If that turns out to be the case, then we should document those differences and move on. ]
>
>
> I think that's the case. I've written a simple test program to check it. Could you try it on Darwin?




  C locale: da (⁄) -> da (⁄)
  iso-8859-1 locale: da (⁄) -> da (⁄)
  utf-8 locale: da (⁄) -> fa (˙)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55746/new/

https://reviews.llvm.org/D55746





More information about the libcxx-commits mailing list