Skip to content

Add remaining currency symbols, deprecate franc #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion src/modules/sym.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ backslash \
.not ⧷
co ℅
colon :
.currency ₡
.double ∷
.tri ⁝
.tri.op ⫶
Expand Down Expand Up @@ -574,17 +575,40 @@ smile ⌣
frown ⌢

// Currency.
afghani ؋
baht ฿
bitcoin ₿
cedi ₵
cent ¢
dollar $
dong ₫
dorome ߾
dram ֏
euro €
@deprecated: `franc` is deprecated, unadopted symbol for currency no longer in use
franc ₣
guarani ₲
hryvnia ₴
kip ₭
lari ₾
lira ₺
manat ₼
naira ₦
peso ₱
Copy link
Collaborator

@mkorje mkorje May 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core spec has this to say:

Dollar and Peso. The dollar sign (U+0024) is used for many currencies in Latin America and elsewhere. In particular, this use includes current and discontinued Latin American peso currencies, such as the Mexican, Chilean, Colombian and Dominican pesos. However, the Philippine peso uses a different symbol found at U+20B1.

So maybe peso should point to $ and peso.philippine to U+20B1 ₱ PESO SIGN.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the only peso (as far as I know) with its own symbol.

There's several other currencies using the dollar symbol that would then presumably also need to be added. I don't think this is a good idea.

The goal isn't to add every currency, but every currency symbol.

Copy link
Collaborator

@mkorje mkorje May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There appears to be only one other currency (other than peso and dollar) that uses the dollar symbol: the Macanese pataca (https://en.wikipedia.org/wiki/Currency_symbol#List_of_currency_symbols_currently_in_use).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There appears to be only one other currency (other than peso and dollar) that uses the dollar symbol: the Macanese pataca (https://en.wikipedia.org/wiki/Currency_symbol#List_of_currency_symbols_currently_in_use).

Ok fair enough, if we're talking currencies with truly different names, then there are only three.

The question is whether we really want to start adding multiple names for the same currency symbols?

Copy link
Collaborator

@mkorje mkorje May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's a terrible idea if we do start to add multiple names. Especially when this situation with dollar appears to be the only one (and the yen and yuan).

pound £
riel ៛
ruble ₽
rupee ₹
rupee
.indian ₹
.general ₨
.tamil ௹
.wancho 𞋿
shekel ₪
som ⃀
taka ৳
taman ߿
tenge ₸
togrog ₮
won ₩
yen ¥
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly unrelated to the rest of the PR, but yuan should probably be added as an alias for ¥.

Yen and Yuan. Like the dollar sign and the pound sign, U+00A5 YEN SIGN has been used as the currency sign for more than one currency. The double-crossbar glyph is the official form for both the yen currency of Japan (JPY) and for the yuan (renminbi) currency of China (CNY). This is the case, despite the fact that some glyph standards historically specified a single-crossbar form, notably the OCR-A standard ISO 1073-1:1976, which influenced the representative glyph in various character set standards from China. In the Unicode Standard, U+00A5 YEN SIGN is intended to be the character for the currency sign for both the yen and the yuan, independent of the details of glyphic presentation.

Copy link
Collaborator Author

@Enivex Enivex May 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment on dollar vs peso

Okay, in this specific case I'm slightly more convinced. However, yen and yuan have the same etymology. It's essentially a spelling difference.

That being said, it would perhaps be less controversial to have both instead of endorsing one.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already two different spellings for the Hebrew letters, so it's not unprecedented.


Expand Down