> "\x87a".force_encoding("Shift_JIS").valid_encoding?
=> true
> "\x87a".force_encoding("Shift_JIS").encode("UTF-8")
(irb):in `encode': "\x87a" from Shift_JIS to UTF-8 (Encoding::UndefinedConversionError)
🤔
> "\x87a".force_encoding("Shift_JIS").valid_encoding?
=> true
> "\x87a".force_encoding("Shift_JIS").encode("UTF-8")
(irb):in `encode': "\x87a" from Shift_JIS to UTF-8 (Encoding::UndefinedConversionError)
🤔
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.