Fixed potential case issue in correctEncoding(). As per issue#2.

This commit is contained in:
jim teeuwen 2011-01-30 23:19:52 +01:00
parent c271c20e08
commit c07619da34
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ loop:
}
}
if enc == "utf-8" {
if strings.ToLower(enc) == "utf-8" {
// Data already in utf-8 format. Nothing to do here.
return data, nil
}