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

Support for UTF-8 chars in TfDictionaryLessThan #2673

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

erslavin
Copy link
Contributor

Description of Change(s)

  • Added support for UTF-8 characters in sorting algorithm
  • Added additional tests with strings containing UTF-8 characters

Fixes Issue(s)

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

TF_AXIOM(!DictLessThan("𓀊", "A"));
TF_AXIOM(!DictLessThan("∫", "="));
TF_AXIOM(DictLessThan("༢", "6"));
TF_AXIOM(DictLessThan("༢", "༨"));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible to include _ in these tests since it's handled specially?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, added a few more that include _

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-8687

- Added support for UTF-8 characters in sorting algorithm
- Added additional tests with strings containing UTF-8 characters
@pixar-oss pixar-oss merged commit 9708720 into PixarAnimationStudios:dev Nov 1, 2023
36 checks passed
@sunyab sunyab added the usd-utf8-identifiers Issues/PRs for Unicode Identifiers in USD proposal label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usd-utf8-identifiers Issues/PRs for Unicode Identifiers in USD proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants