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

Japanese given as an immediate value on Visual C++ 2022 editor is not handled well #42937

Open
tensor5375 opened this issue Dec 26, 2024 · 2 comments
Assignees
Labels
requires:more-information This Issue requires more information to solve

Comments

@tensor5375
Copy link

Describe the bug
 In the Visual C++ editor, when Japanese is entered as an immediate value in UTF-8, it is determined to contain invalid characters. This does not happen with boost::property_tree::ptree, even if the same string is handled, so it seems to be a nlohmann-json specific bug.

Environment

  • OS: Windows 11 64bit
  • Compiler: Visual Studio 2022(C++)
  • using vcpkg
  • nlohamnn-json 3.11.3

To Reproduce
Simply type in some Japanese words in the view, including symbols, etc., and you will probably be able to confirm the kanji.

Expected behavior
invalid characters in string error

@LilyWangLL LilyWangLL added the requires:more-information This Issue requires more information to solve label Dec 26, 2024
@LilyWangLL
Copy link
Contributor

Thanks for posting this issue, does this issue occur when using English as the input language? Could you provide a screenshot or error log of the error message?

@tensor5375
Copy link
Author

I may have been mistaken. Please delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:more-information This Issue requires more information to solve
Projects
None yet
Development

No branches or pull requests

2 participants