efegokdemir opened a new pull request, #450: URL: https://github.com/apache/commons-codec/pull/450
Adds `decode(String, String, boolean)` so callers can reject malformed or unmappable byte sequences with `DecoderException`. The existing overload remains lenient. Tests cover malformed and valid UTF-8, ISO-8859-1, null input, and unsupported charsets. The default `mvn` goal passed: 19,857 tests, 0 failures/errors, 3 skipped. - [x] Read the contribution guidelines. - [x] Read the ASF Generative Tooling Guidance. - [x] AI was used: OpenAI Codex (GPT-6) analysed the issue and code, implemented the change and regression test, and ran verification. - [x] The default Maven goal completed successfully. - [x] Added unit tests for the behavioural change. - [x] The description explains the change and why it is needed. - [x] The commit has a meaningful subject and body. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
