Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Erroneous sorting codes in French territories

Open
#217 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Domain
localization

Research direction

Search the address-format data for the records for PM, YT, MC, WF, NC, MF, GP, GF, MQ, BL, and RE. Confirm each format string contains the reported %X code, remove those codes, and run the repository's relevant validation or tests if available to verify the affected formats.

Written by the indexing model from the issue text.

Description

The formats for PM YT MC WF NC MF GP GF MQ BL RE all erroneously include a %X sorting code.

They are all part of France, or for Monaco, a statelet whose post office is run by France. Both the French La Poste web site and the UPU confirm that they use standard French addresses with the five digit postal code before the city, no sorting code. For example, for PM https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/spmEn.pdf

It may have been confusing that for each territory the first three digits of its French code are fixed and only the last two vary within the territory, which might have been misinterpreted as a sorting code.

The fix is simple, remove all of the %X codes in each territory's format string.

Dominant language
C++
Stars
629
Forks
109
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/libaddressinput

All issues in google/libaddressinput

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.