summaryrefslogtreecommitdiff
path: root/Source/cm_utf8.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix or cast more integer conversions in cmakeBrad King2010-06-291-1/+1
| | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
* Fix or cast integer conversions in cmakeBrad King2010-06-251-2/+2
| | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
* CTest: Do not munge UTF-8 output in XML filesBrad King2009-12-081-0/+84
CTest filters the output from tools and tests to ensure that the XML build/test result documents it generates have valid characters. Previously we just converted all non-ASCII bytes into XML-escaped Unicode characters of the corresponding index. This does not preserve tool output encoded in UTF-8. We now assume UTF-8 output from tools and implement decoding as specified in RFC 3629. Valid characters are preserved, possibly with XML escaping. Invalid byte sequences and characters are converted to human-readable hex values with distinguishing tags. See issue #10003.