Skip to content

unicode-query: Show emoji presentation in Unicode properties query tool #111

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

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.0 (unreleased)

- Show emoji presentation in Unicode properties query tool.

## 0.4.0 (2023-11-27)

- Fix UTF-8 decoding of incomplete UTF-8 multibyte sequences to properly report `Invalid`.
Expand Down
1 change: 1 addition & 0 deletions src/tools/unicode-query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ void showCodepointProperties(char32_t codepoint)
cout << "East Asian Width : " << properties.east_asian_width << '\n';
cout << "Character width : " << unsigned(properties.char_width) << '\n';
cout << "Emoji Segmentation Category : " << properties.emoji_segmentation_category << '\n';
cout << "Emoji Presentation : " << (properties.emoji_presentation() ? "emoji" : "text") << '\n';
cout << "Grapheme Cluster Break : " << properties.grapheme_cluster_break << '\n';
cout << "\n";
// clang-format on
Expand Down
Loading