Skip to content

fix(enums): restore accented characters in Country values#11

Open
CV-GPhL wants to merge 1 commit into
wwPDB:developfrom
CV-GPhL:fix/country-enum-accented-values
Open

fix(enums): restore accented characters in Country values#11
CV-GPhL wants to merge 1 commit into
wwPDB:developfrom
CV-GPhL:fix/country-enum-accented-values

Conversation

@CV-GPhL

@CV-GPhL CV-GPhL commented Jun 22, 2026

Copy link
Copy Markdown

Problem

Four Country values (src/onedep_lib/enums.py) have accented Latin
characters transcoded to a bare A (a UTF-8 import error), so they display
corrupted:

member current should be
CURAAAO CuraAao Curaçao
IVORY_COAST CAte D'Ivoire Côte D'Ivoire
RAUNION RAunion Réunion
SAINT_BARTHALEMY Saint BarthAlemy Saint Barthélemy

Fix

Restore the correct UTF-8 values. Member names are left unchanged - renaming
them (e.g. CURAAAO -> CURACAO) would be a breaking API change and can be a
separate follow-up.

Test

Adds value assertions to tests/test_enums.py. Full suite green (144 passed).

Four Country values had their accented Latin characters transcoded to a bare
"A" (a UTF-8 import error): Curacao, Cote D'Ivoire, Reunion and Saint
Barthelemy displayed corrupted. Restore the correct UTF-8 strings. Member names
are left unchanged to avoid a breaking API change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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