OpenMW
Functions
components/to_utf8/tests/to_utf8_test.cpp File Reference
#include <iostream>
#include <fstream>
#include <cassert>
#include <stdexcept>
#include "../to_utf8.hpp"

Functions

std::string getFirstLine (const std::string &filename)
void testEncoder (ToUTF8::FromType encoding, const std::string &legacyEncFile, const std::string &utf8File)
 Test character encoding conversion to and from UTF-8.
int main ()

Function Documentation

std::string getFirstLine ( const std::string &  filename)
int main ( )
void testEncoder ( ToUTF8::FromType  encoding,
const std::string &  legacyEncFile,
const std::string &  utf8File 
)

Test character encoding conversion to and from UTF-8.