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

converting UCN to execution character set: Invalid or incomplete multibyte or wide character #3166

Open
SilhouettesForYou opened this issue Sep 6, 2024 · 1 comment

Comments

@SilhouettesForYou
Copy link

I got an error when use spdlog

/usr/include/fmt/core.h:430:68: error: converting UCN to execution character set: Invalid or incomplete multibyte or wide character

  430 | FMT_MSC_WARNING(suppress : 4566) constexpr unsigned char micro[] = "\u00B5";

      |                                                                    ^~~~~~~~

CMakeLists.txt:

...
add_compile_options(-finput-charset=utf-8)
add_compile_options(-fexec-charset=GB2312)
...
@tt4g
Copy link
Contributor

tt4g commented Sep 6, 2024

This is a fmt library issue (fmtlib/fmt#3154) and already fixed.
And you are using external fmt, so it is not the source code maintained in this repository.
Please upgrade your fmt.

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

2 participants