Aspose::Words::FileFormatInfo::get_Encoding method. Gets the detected encoding if applicable to the current document format. At the moment detects encoding only for HTML documents in C++....ASSERT_EQ ( u "Western European (Windows)" , info -> get_Encoding ()...