双字节字符化 安装 将此行添加到您的应用程序的Gemfile中: gem 'doublebyte_charactify' 然后执行: $ bundle 用法 使初始化程序文件config \ initializers \ doublebyte_charactify.rb require_relative "inflections" require Rails . root . join ( "app/serializers/activitypub/note_serializer" ) DoublebyteCharactify . patch ( ) 嘟嘟的嘟嘟声 hankaku to