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

Files with Asian names are not being compiled. #452

Open
Pentagon03 opened this issue Jun 18, 2024 · 0 comments
Open

Files with Asian names are not being compiled. #452

Pentagon03 opened this issue Jun 18, 2024 · 0 comments

Comments

@Pentagon03
Copy link

Pentagon03 commented Jun 18, 2024

English Filenames work, but any file with UTF-8 Characters such as Korean/Japanese/Chinese characters included is failing with below error. This used to work, but after changing windows system locale to enable "utf-8", this started to fail.
Related: #425

Exit code: 1 Errors while compiling:
C:/Program Files/mingw/winlibs-x86_64-posix-seh-gcc-13.1.0-mingw-w64ucrt-11.0.0-r5/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot open output file c:\Algorithm\PS\BOJ\やあ.bin: Invalid argument
collect2.exe: error: ld returned 1 exit status

This solves when we disable "utf-8", however this disables the following.

  1. Compiling files with UTF-8 names.
  2. Printing UTF-8 Characters in Terminal

Can we solve this issue while allowing utf-8 system locale?

Operating System: Windows11

@Pentagon03 Pentagon03 changed the title Files with "Asian" names are not being compiled. Files with Asian names are not being compiled. Jun 18, 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

No branches or pull requests

1 participant