Skip to content

Commit

Permalink
add alternative diaeresis order
Browse files Browse the repository at this point in the history
In some cases, texts encoded with Beta Code represent letters that have
both diaeresis and an accent mark in the order letter + diaeresis +
accent. Currently, only letter + accent + diaeresis is supported.

This change adds mappings from Beta Code to Unicode so that both orders
are supported.

Fixes #5
  • Loading branch information
zfletch committed Sep 24, 2023
1 parent 1bdcf3e commit 546f1c5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions beta_code_to_unicode.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,10 +556,13 @@
"I+": "ϊ",
"I/": "ί",
"I/+": "ΐ",
"I+/": "ΐ",
"I=": "",
"I=+": "",
"I+=": "",
"I\\": "",
"I\\+": "",
"I+\\": "",
"J": "ς",
"K": "κ",
"L": "λ",
Expand Down Expand Up @@ -596,10 +599,13 @@
"U+": "ϋ",
"U/": "ύ",
"U/+": "ΰ",
"U+/": "ΰ",
"U=": "",
"U=+": "",
"U+=": "",
"U\\": "",
"U\\+": "",
"U+\\": "",
"W": "ω",
"W(": "",
"W(/": "",
Expand Down Expand Up @@ -703,10 +709,13 @@
"i+": "ϊ",
"i/": "ί",
"i/+": "ΐ",
"i+/": "ΐ",
"i=": "",
"i=+": "",
"i+=": "",
"i\\": "",
"i\\+": "",
"i+\\": "",
"j": "ς",
"k": "κ",
"l": "λ",
Expand Down Expand Up @@ -743,10 +752,13 @@
"u+": "ϋ",
"u/": "ύ",
"u/+": "ΰ",
"u+/": "ΰ",
"u=": "",
"u=+": "",
"u+=": "",
"u\\": "",
"u\\+": "",
"u+\\": "",
"w": "ω",
"w(": "",
"w(/": "",
Expand Down

0 comments on commit 546f1c5

Please sign in to comment.