Skip to content

Add IANA charset output and optional lookup#10

Open
wlynxg wants to merge 1 commit intomainfrom
feature/iana-charset
Open

Add IANA charset output and optional lookup#10
wlynxg wants to merge 1 commit intomainfrom
feature/iana-charset

Conversation

@wlynxg
Copy link
Owner

@wlynxg wlynxg commented Mar 7, 2026

Summary

  • add while keeping legacy
  • factor shared logic through and add encoding mapping helpers
  • add optional subpackage so callers can decode via x/text
  • adjust docs/tests and keep go.mod on Go 1.21 + x/text 0.22

Testing

? github.com/wlynxg/chardet/cda [no test files]
? github.com/wlynxg/chardet/consts [no test files]
? github.com/wlynxg/chardet/probe [no test files]
ok github.com/wlynxg/chardet (cached)
ok github.com/wlynxg/chardet/lookup (cached)
ok github.com/wlynxg/chardet/test (cached)

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.

1 participant