From 29470f2c9a4daddb51a9a8f993e0820e8e99b179 Mon Sep 17 00:00:00 2001 From: Sascha Mayr <29578226+mayrsascha@users.noreply.github.com> Date: Thu, 8 Oct 2026 21:50:09 +0200 Subject: [PATCH 1/3] Use the local symbol F for XPF (CFP franc) --- CHANGELOG.md | 1 + config/currency_iso.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 519ff8fabe..ef0d780eec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Fix symbol for XPF (CFP Franc) to "F", the one used locally; "₣" (the French franc sign) moves to the alternate symbols - Fix `Money::Allocation.generate` converting a Rational with unlimited `to_d` precision. It now uses `Money.conversion_precision` - Fix `Money::Currency.reset!` keeping the cached key set, so a currency registered before the reset was still accepted by `Money::Currency.new` and raised `NoMethodError` instead of `UnknownCurrency` - Fix `Money::Bank::VariableExchange#import_rates` parsing `:json` with `JSON.load`, which instantiates any class named by a `json_class` key; it now uses `JSON.parse` diff --git a/config/currency_iso.json b/config/currency_iso.json index e13b4a605a..697b7fd762 100644 --- a/config/currency_iso.json +++ b/config/currency_iso.json @@ -2624,8 +2624,8 @@ "priority": 100, "iso_code": "XPF", "name": "Cfp Franc", - "symbol": "₣", - "alternate_symbols": ["F"], + "symbol": "F", + "alternate_symbols": ["F CFP", "XPF", "₣"], "subunit": "Centime", "subunit_to_unit": 1, "symbol_first": false, From 0818749909519616059c3d91174bbd678b0a0e6c Mon Sep 17 00:00:00 2001 From: Sascha Mayr <29578226+mayrsascha@users.noreply.github.com> Date: Thu, 8 Oct 2026 21:57:57 +0200 Subject: [PATCH 2/3] Add Sascha Mayr to AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 2d9b131352..70eadfdfe8 100644 --- a/AUTHORS +++ b/AUTHORS @@ -125,6 +125,7 @@ Robert Starsi Romain Gérard Ryan Bigg sankaranarayanan +Sascha Mayr Scott Pierce Semyon Perepelitsa Shane Emmons From 6b752ec0def33e3fa4f152848f2bee9c9b4b313a Mon Sep 17 00:00:00 2001 From: Sascha M <29578226+mayrsascha@users.noreply.github.com> Date: Fri, 9 Oct 2026 17:27:58 +0200 Subject: [PATCH 3/3] Fix CFP Franc capitalization Co-authored-by: Sunny Ripert --- config/currency_iso.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/currency_iso.json b/config/currency_iso.json index 697b7fd762..fb49774939 100644 --- a/config/currency_iso.json +++ b/config/currency_iso.json @@ -2623,7 +2623,7 @@ "xpf": { "priority": 100, "iso_code": "XPF", - "name": "Cfp Franc", + "name": "CFP Franc", "symbol": "F", "alternate_symbols": ["F CFP", "XPF", "₣"], "subunit": "Centime",