OSDN Git Service

[lit] Parse all strings as UTF-8 rather than ASCII.
authorJordan Rose <jordan_rose@apple.com>
Fri, 12 Sep 2014 16:46:05 +0000 (16:46 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 12 Sep 2014 16:46:05 +0000 (16:46 +0000)
commitc919e57cbf378122e1f646de6e73cfe4c581f825
treea305e8fbfce4a935dcab5ff1a0e6de08040d3cff
parent81d53b7290195c48bb15ddfee5a4e805e017a19c
[lit] Parse all strings as UTF-8 rather than ASCII.

As far as I can tell UTF-8 has been supported since the beginning of Python's
codec support, and it's the de facto standard for text these days, at least
for primarily-English text. This allows us to put Unicode into lit RUN lines.

rdar://problem/18311663

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217688 91177308-0d34-0410-b5e6-96231b3b80d8
test/Other/lit-unicode.txt [new file with mode: 0644]
utils/lit/lit/ProgressBar.py
utils/lit/lit/TestRunner.py
utils/lit/lit/formats/googletest.py
utils/lit/lit/util.py