Skip to content

Commit 3c95435

Browse files
authored
Merge pull request #411 from TheJoeFin/TesseractOutputEncoding
Add UTF8 Encoding to Tesseract calls
2 parents 6d796f6 + 416f5f2 commit 3c95435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Text-Grab/Utilities/TesseractHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static async Task<string> GetTextFromImagePathAsync(string imagePath, Win
9898
.Add("-l")
9999
.Add(languageString)
100100
)
101-
.ExecuteBufferedAsync();
101+
.ExecuteBufferedAsync(Encoding.UTF8);
102102

103103
return result.StandardOutput;
104104
}

0 commit comments

Comments
 (0)