changed to use charset ctest output file is written in