invalid byte sequence in UTF-8 on page request

后端 未结 4 1048
走了就别回头了
走了就别回头了 2021-01-06 12:24

I\'m getting \"invalid byte sequence in UTF-8\" on page requests (permalinks) and I have no idea why nor can I reproduce it but I do get a lot of exceptions like this:

4条回答
  •  甜味超标
    2021-01-06 13:17

    Similar to @phoet, I also used a Rails Middleware to solve similar encoding issues.

    Tested on Ruby 1.9.3 (no Iconv):

    https://gist.github.com/3639014

提交回复
热议问题