Skip to content
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

Remove soft hyphen special case #44

Merged
merged 1 commit into from
May 7, 2024

Conversation

Jules-Bertholet
Copy link
Contributor

Unicode unambiguously specifies that U+00AD SOFT HYPHEN, as a Default_Ignorable_Code_Point, should have no visible display by default. However, many terminal emulators do not implement the Unicode semantics, but instead implement the ISO Latin-1 semantics, which give the character a visible display (https://unicode.org/faq/casemap_charprop.html#18, https://archive.is/fCT3c).

Currently, this library implements the ISO Latin 1 semantics. This PR would switch to the Unicode semantics. Whether it should be merged, depends on what this purpose of this library is supposed to be.

Copy link
Member

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

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

I'd say we're trying to follow Unicode recommendations where possible.

@Manishearth Manishearth merged commit 86970a1 into unicode-rs:master May 7, 2024
2 checks passed
@Jules-Bertholet Jules-Bertholet deleted the dont-be-shy branch May 7, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants