Skip to content

Commit

Permalink
Merge pull request #411 from TheJoeFin/TesseractOutputEncoding
Browse files Browse the repository at this point in the history
Add UTF8 Encoding to Tesseract calls
  • Loading branch information
TheJoeFin authored Jan 6, 2024
2 parents 6d796f6 + 416f5f2 commit 3c95435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Text-Grab/Utilities/TesseractHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static async Task<string> GetTextFromImagePathAsync(string imagePath, Win
.Add("-l")
.Add(languageString)
)
.ExecuteBufferedAsync();
.ExecuteBufferedAsync(Encoding.UTF8);

return result.StandardOutput;
}
Expand Down

0 comments on commit 3c95435

Please sign in to comment.