summaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-01-24 13:04:36 -0500
committerGennadiy Civil <misterg@google.com>2018-01-24 13:04:36 -0500
commite29805aa5d233efca1fc102efcc7bce53cecaa12 (patch)
tree6a3dcecdfbd0fece267da9df6a9d3437756b8dc7 /googletest/docs
parent7a2563a514563145d82f02b5b350cba1af33af67 (diff)
downloadgoogletest-e29805aa5d233efca1fc102efcc7bce53cecaa12.tar.gz
googletest-e29805aa5d233efca1fc102efcc7bce53cecaa12.zip
upstream cl 182543808
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/AdvancedGuide.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/googletest/docs/AdvancedGuide.md b/googletest/docs/AdvancedGuide.md
index ccb087c0..e1df20d5 100644
--- a/googletest/docs/AdvancedGuide.md
+++ b/googletest/docs/AdvancedGuide.md
@@ -1951,6 +1951,17 @@ variable to `0` has the same effect.
_Availability:_ Linux, Windows, Mac. (In Google Test 1.3.0 and lower,
the default behavior is that the elapsed time is **not** printed.)
+**Availability**: Linux, Windows, Mac.
+
+#### Suppressing UTF-8 Text Output
+
+In case of assertion failures, gUnit prints expected and actual values of type
+`string` both as hex-encoded strings as well as in readable UTF-8 text if they
+contain valid non-ASCII UTF-8 characters. If you want to suppress the UTF-8 text
+because, for example, you don't have an UTF-8 compatible output medium, run the
+test program with `--gunit_print_utf8=0` or set the `GUNIT_PRINT_UTF8`
+environment variable to `0`.
+
### Generating an XML Report ###
Google Test can emit a detailed XML report to a file in addition to its normal
OpenPOWER on IntegriCloud