We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23bdc2a commit 4586e94Copy full SHA for 4586e94
beef
@@ -97,7 +97,7 @@ env_lang = ENV.fetch('LANG', nil)
97
if env_lang !~ /(utf8|utf-8)/i
98
print_warning "Warning: System language $LANG '#{env_lang}' does not appear to be UTF-8 compatible."
99
if env_lang =~ /\A([a-z]+_[a-z]+)\./i
100
- country = $1
+ country = Regexp.last_match(1)
101
print_more "Try: export LANG=#{country}.utf8"
102
end
103
0 commit comments