Just a very small comment: I hope we can avoid terms such as "UTF-8 quality" in the future. There is no good or better UTF-8. There is only UTF-8 and byte sequences that are not UTF-8. The word 'quality' is misleading here. Regards, Martin. -------- Forwarded Message -------- Subject: 0a13de1f05 (master): [ruby/prism] Check UTF-8 quality only once in error formatting Date: Fri, 30 Oct 2026 03:42:01 +0000 (UTC) From: Kevin Newton <noreply@ruby-lang.org> To: ruby-cvs@g.ruby-lang.org Kevin Newton 2026-10-29 15:11:29 +0000 (Thu, 29 Oct 2026) New Revision: 0a13de1f05 https://github.com/ruby/ruby/commit/0a13de1f05 Log: [ruby/prism] Check UTF-8 quality only once in error formatting Instead of checking each line individually, sort all of the errors and do a single walk over the source to figure out if it is valid UTF-8 to determine how to format the errors. https://github.com/ruby/prism/commit/d30da30607 Modified files: prism/errors_format.c test/prism/api/raise_error_test.rb -- You received this message because you are subscribed to the Google Groups "ruby-cvs" group. To unsubscribe from this group and stop receiving emails from it, send an email to ruby-cvs+unsubscribe@g.ruby-lang.org. To view this discussion visit https://groups.google.com/a/g.ruby-lang.org/d/msgid/ruby-cvs/20261030034201.....