opensourcecobol / opensourcecobol4j

A new version of opensourcecobol. Translate COBOL to Java.
https://opensourcecobol.github.io/opensourcecobol4j/
GNU General Public License v3.0
74 stars 34 forks source link

Handle Japanese characters in file identifiers correctly #540

Closed yutaro-sakamoto closed 1 week ago

yutaro-sakamoto commented 1 week ago

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:

Additions to test coverage: