gh-99593: Add tests for Unicode C API (part 3) (GH-104728)

Add tests for codecs.
2 files changed