Problem/Motivation
The €-sign U+20AC is translaterated as EU, but it should be EUR. EU is European Union, EUR is EURO.
Proposed resolution
Change the transliteration to EUR
Issue fork drupal-3578289
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3578289-tansliteration-of-
changes, plain diff MR !15044
Comments
Comment #3
joshahubbers commentedComment #4
ghost of drupal pastThe fix is correct for the issue. Likely more could be done: where did this curious error came from? The contrib transliteration project which became core in 2012 mainly -- but not solely -- used the tables from the Perl Text::Unidecode project. And indeed, one can see the EU in https://metacpan.org/release/SBURKE/Text-Unidecode-0.04/source/lib/Text/... The Perl project didn't see a release after 2001 until 2014 but in 2012 the tables got into Drupal core. This error got fixed in a 2013 change: https://metacpan.org/release/SBURKE/Text-Unidecode-1.01/source/lib/Text/.... I see a few other tables have later than 2001 dates as well, the differences should be produced somehow and integrated as needed. As noted, the tables Drupal used even in 2012 had multiple sources and those sources were tweaked in contrib before and core after so the current data set is completely unique so this is not a trivial endeavour but as this very issue shows it'd be worth trying. https://github.com/uperl/App-cpangitify is probably helpful here.
Comment #5
nicxvan commentedComment #7
quietone commented@ghost of drupal past, thanks for the research.
I should get to this within 24 hours.
Comment #11
quietone commentedI too did research yesterday to confirm that EUR is correct. For example, https://ec.europa.eu/economy_finance/events/2009/theeuro/isola3_en2008-2...
Thanks!