Skip to content

util: update Unicode tables and case mappings to 18.0.0 - #6822

Open
CygnusMaximillian wants to merge 1 commit into
rizinorg:devfrom
CygnusMaximillian:unicode_18
Open

CygnusMaximillian wants to merge 1 commit into
rizinorg:devfrom
CygnusMaximillian:unicode_18

Conversation

@CygnusMaximillian

Copy link
Copy Markdown

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository.
  • I made sure to follow the project's coding style.
  • I've documented every RZ_API function and struct this PR changes.
  • I've added tests that prove my changes are effective (required for changes to RZ_API).
  • I've updated the Rizin book with the relevant information (if needed).
  • I've used AI tools to generate fully or partially these code changes and I'm sure the changes are not copyrighted by somebody else.

Detailed description

I have updated the existing unicode.c from 17.0.0 -> 18.0.0 using the latest mappings, I used ucd-generate for it (a rust based unicode generator for this , I have also updated three tests of unit test in test/unit/test_encodings.c, no new test registration was required for them.

...

Test plan

The changes can be tested using unit test in test_encoding.c , all of them passed

...

Closing issues

#6792
...

Comment thread librz/util/unicode.c Outdated
Signed-off-by: CygnusMaximillian <dprajjwal11@gmail.com>
@CygnusMaximillian

Copy link
Copy Markdown
Author

@Rot127 I have formated the code

Comment thread librz/util/unicode.c
*
* Table generated with `ucd-generate general-category`.
* See: https://github.com/BurntSushi/ucd-generate
* Table generated with `sys/unicode_tables_generator.py` from UnicodeData.txt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This file doesn't exist.

What generator did you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants