Skip to content

Commit

Permalink
Fix Eszett in utf8_posix_map.c to 'ss'
Browse files Browse the repository at this point in the history
The Eszett, also known as sharp S, only mapped to a single 's', when it
should be 'ss'. The struct does allow for multiple letters like in 'Æ`
to `AE'.

Updated repo release version for this and updated the CHANGES.md file as
well.
  • Loading branch information
xexyl committed Sep 9, 2024
1 parent 697902f commit f1cb9e6
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Major changes to the IOCCC entry toolkit

## Release 1.5.13 2024-09-09

Fix Eszett (`ß`) in `soup/utf8_posix_map.c` to map to `ss`, not just one `s`. In
parentheses the word (though all caps) `ESZETT` was added to the `SHARP S`
(another term for it). This was done to make it easier to find for those of us
used to the German term.

Updated the repo release version to account for this change.


## Release 1.5.12 2024-09-08

In `test_ioccc/`, `soup` and the top level Makefiles the `${RM}` variable now
Expand Down
30 changes: 30 additions & 0 deletions soup/oebxergfB.h
Original file line number Diff line number Diff line change
Expand Up @@ -4880,6 +4880,36 @@ static char const *oebxergfB[] =
"\n"
"-- Xwzmt\n"
,
"aueh(3) Luflsasob Tssta aueh(3)\n"
"\n"
"FGLO\n"
" aueh - y fsiiyed tuew kyaue bs xyan msql\n"
" fsirqbwl ftwye so Luflsasob Vuedsxa\n"
"\n"
"UZFDEUCU\n"
" aueh xuedsxa_rybn\n"
"\n"
"ROUIMCETCDF\n"
" aueh fnwfha osl Luflsasob Vuedsxa se msql tsfyt nyld\n"
" dluvwa yed bnwe lqea:\n"
"\n"
" li -lo\n"
"\n"
" se bnw rybn.\n"
"\n"
"DETCDFU\n"
" Fs srbusea.\n"
"\n"
"NSWU\n"
" Co Luflsasob Vuedsxa fyeesb kw osqed kqb bnw rybn ua\n"
" y outw bnyb fye kw xlubbwe bs, bnua rlsplyi iupnb\n"
" ftwye ub sqb bss.\n"
"\n"
" Ksxwvwl, puvwe bnyb Luflsasob Vuedsxa ytas fsllqrba\n"
" msql outwa, bnua iupnb kw fyttwd y owybqlw. Co msq\n"
" ueabytt Luflsasob Vuedsxa bnwe msq iqab wzrwfb bnw\n"
" xslab!\n"
,
NULL
};

Expand Down
2 changes: 1 addition & 1 deletion soup/utf8_posix_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ struct utf8_posix_map hmap[] =
{ "\xc3\x9c", "u" , -1, -1}, /* U+00DC - Ü - LATIN CAPITAL LETTER U WITH DIAERESIS */
{ "\xc3\x9d", "y" , -1, -1}, /* U+00DD - Ý - LATIN CAPITAL LETTER Y WITH ACUTE */
{ "\xc3\x9e", "p" , -1, -1}, /* U+00DE - Þ - LATIN CAPITAL LETTER THORN */
{ "\xc3\x9f", "s" , -1, -1}, /* U+00DF - ß - LATIN SMALL LETTER SHARP S */
{ "\xc3\x9f", "ss", -1, -1}, /* U+00DF - ß - LATIN SMALL LETTER SHARP S (ESZETT) */
{ "\xc3\xa0", "a" , -1, -1}, /* U+00E0 - à - LATIN SMALL LETTER A WITH GRAVE */
{ "\xc3\xa1", "a" , -1, -1}, /* U+00E1 - á - LATIN SMALL LETTER A WITH ACUTE */
{ "\xc3\xa2", "a" , -1, -1}, /* U+00E2 - â - LATIN SMALL LETTER A WITH CIRCUMFLEX */
Expand Down
2 changes: 1 addition & 1 deletion soup/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
*
* NOTE: This should match the latest Release string in CHANGES.md
*/
#define MKIOCCCENTRY_REPO_VERSION "1.5.13 2024-09-08" /* special release format: major.minor.patch YYYY-MM-DD */
#define MKIOCCCENTRY_REPO_VERSION "1.5.14 2024-09-09" /* special release format: major.minor.patch YYYY-MM-DD */

/*
* official soup version (aka recipe :-) )
Expand Down

0 comments on commit f1cb9e6

Please sign in to comment.