(locale string)
| 68 | } |
| 69 | |
| 70 | func localeIsUTF8(locale string) bool { |
| 71 | lower := strings.ToLower(locale) |
| 72 | return strings.Contains(lower, "utf-8") || strings.Contains(lower, "utf8") |
| 73 | } |
| 74 | |
| 75 | func hasNonEmptyEnv(env []string, name string) bool { |
| 76 | value, ok := envValue(env, name) |
no test coverage detected