I am using tesseract api for persian language. when i call api->getutf8text(), that return unknown encoding string.
char*outText = api->GetUTF8Text();
String^ result = gcnew String(outText);
for example result is
ابراز داشت: امام رضا برخال� دیگر ائمه با جنگ نرم
also i know fas.traineddata and result are ISO 639-2T but i don't known how tesseract convert utf-8 to ISO-639-2T .
when i am using tesseract.exe in cmd
tesseract.exe test.tiff outputFile -l fas
The result is stored properly in outputFile.txt