From: "Eregon (Benoit Daloze)" Date: 2022-04-06T11:54:28+00:00 Subject: [ruby-core:108186] [Ruby master Bug#18679] Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8 Issue #18679 has been updated by Eregon (Benoit Daloze). My bet would be the locale is not set properly on the arm machine. `locale` probably shows `C` or `POSIX` and many things don't work with that. You probably need `export LANG=en_US.UTF-8` or so. I think CRuby should warn in that case. TruffleRuby already does. ---------------------------------------- Bug #18679: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8 https://bugs.ruby-lang.org/issues/18679#change-97157 * Author: taf2 (Todd Fisher) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- We are facing an issue only when running ruby on arm from amazon linux. In some cases when we puts a string we'll receive the above error message. However when we run the same data through puts on Intel we do not receive this error. I am not sure if this is a ruby issue maybe an iconv issue... but what would be the best way to capture more data to help from here? -- https://bugs.ruby-lang.org/ Unsubscribe: