We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babd936 commit 5a47cf7Copy full SHA for 5a47cf7
chardet/chardet.uchardet.cmd.go
@@ -30,7 +30,7 @@ func DetectEncodingByUChardetCmd(dat []byte) (string, error) {
30
func lookupUchardet() (string, error) {
31
var ns = []string{"uchardet"}
32
if runtime.GOOS == "windows" {
33
- ns = []string{"uchardet.exe", "uchardet"}
+ ns = []string{"./uchardet.exe", "uchardet.exe", "uchardet"}
34
}
35
for _, name := range ns {
36
_, err := exec.LookPath(name)
0 commit comments