Skip to content

remove iconv fallback code for ruby 1.8#69

Merged
ckruse merged 1 commit intockruse:masterfrom
wtn:iconv
Nov 14, 2025
Merged

remove iconv fallback code for ruby 1.8#69
ckruse merged 1 commit intockruse:masterfrom
wtn:iconv

Conversation

@wtn
Copy link
Contributor

@wtn wtn commented Nov 14, 2025

Removes dead Iconv fallback code that was only needed for Ruby 1.8, which is no longer supported.

Changes

  • Simplify Binary.charset_convert to always use String#encode
  • Simplify Binary.charset_strlen to remove Iconv fallback path
  • Remove conditional checks for respond_to?(:encode)

Co-authored-by: Claude <noreply@anthropic.com>
@ckruse ckruse merged commit a086208 into ckruse:master Nov 14, 2025
10 checks passed
@wtn wtn deleted the iconv branch November 14, 2025 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants