[PATCH] D55746: [libcxx] [test] [re.traits] Correct expected values for invalid UTF-8
Michał Górny via Phabricator
reviews at reviews.llvm.org
Mon Dec 17 23:55:41 PST 2018
mgorny added a comment.
In D55746#1333667 <https://reviews.llvm.org/D55746#1333667>, @ldionne wrote:
> @mgorny What output do you get on Linux for your test program?
C locale: da (�) -> da (�)
iso-8859-1 locale: da (�) -> fa (�)
utf-8 locale: da (�) -> da (�)
(note the `%c` forms result in invalid UTF-8 to console)
Curious enough, on FreeBSD and NetBSD even iso-8859-1 isn't transformed:
C locale: da (�) -> da (�)
iso-8859-1 locale: da (�) -> da (�)
utf-8 locale: da (�) -> da (�)
Repository:
rCXX libc++
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55746/new/
https://reviews.llvm.org/D55746
More information about the libcxx-commits
mailing list