Skip to content

Conversation

@yutaro-sakamoto
Copy link
Contributor

@yutaro-sakamoto yutaro-sakamoto commented Nov 5, 2024

In order to fix #539, this pull request includes changes to improve the handling of Japanese characters in file names and adds a new test to verify the functionality. The most important changes include modifying the to_cname function to correctly handle multi-byte Japanese characters and adding a new test case for this functionality.

Improvements to Japanese character handling:

  • cobj/tree.c: Modified the to_cname function to correctly handle multi-byte Japanese characters by adjusting the loop to increment by two bytes for certain character ranges.

Additions to test coverage:

@yutaro-sakamoto yutaro-sakamoto changed the title Convert file identifiers containing Japanese characters correctly Handle Japanese characters in file identifiers correctly Nov 5, 2024
@yutaro-sakamoto yutaro-sakamoto merged commit 68c2074 into opensourcecobol:develop Nov 5, 2024
124 checks passed
@yutaro-sakamoto yutaro-sakamoto mentioned this pull request Nov 27, 2024
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.

File identifiers containing Japanese change to another word.

1 participant