Ruby 1.9 doesn't support Unicode normalization yet

前端 未结 7 2317
渐次进展
渐次进展 2021-01-04 07:46

I\'m trying to port over some of my old rails apps to Ruby 1.9 and I keep getting warnings about how \"Ruby 1.9 doesn\'t support Unicode normalization yet.\" I\'ve tracked

7条回答
  •  南方客
    南方客 (楼主)
    2021-01-04 08:01

    Replace the body of the method with

    raise "transliterate called"
    

    and observe a backtrace which will show you where the stuff is coming from at the first call. Your app will of course collapse as well but that will likely give you the culprit from the first try.

提交回复
热议问题