Ruby will default to the system locale, and if it is non-UTF-8, String-methods will fail when operating on non-ASCII strings. Will-fix: #10359