[PATCH] Changed isPrint for U+00AD SOFT HYPHEN to return true.

Alexander Kornienko alexfh at google.com
Wed Aug 7 18:11:28 PDT 2013


  With a certain amount of magic:
  #include <fcntl.h>
  #include <io.h>
  #include <iostream>

  int main(int argc, char **argv) {
    _setmode(_fileno(stdout), _O_U16TEXT);
    std::wcout << L"<\u00AD>\n";
  }

  I found out, that windows console displays a dash for it (at least with one of the standard console fonts).

http://llvm-reviews.chandlerc.com/D1310



More information about the llvm-commits mailing list