Skip to content

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
@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

2 participants