/** * Test utf8 bom */ void test_utf8_bom(const char* fileName) { TextFile tf; tf.open(fileName); assert(tf.getEncoding() == UTF8); }