`String#%` (string formatting) converts to wrong encoding when a `%s` is supplied with an integer. ``` ruby x = "%s ä" puts x.encoding puts (x % 2).encoding ``` prints ``` UTF-8 US-ASCII ```