-
Notifications
You must be signed in to change notification settings - Fork 423
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
Garbled log #1557
Comments
You do not specify what platform / OS you are running your code on. It would appear that the |
My code will run on Windows 11. Do you mean that I need to manually concatenate an empty string to the message parameter? |
It looks like this code is causing your issues in src/coap_io.c
where I suspect for your locale it is returning WCHAR characters. Not immediately sure how to fix this. |
Can you please try #1559 to see if this cures what you are seeing. |
Can this be closed now? |
As you have set If you change |
Hello,
My project uses libcoap version 4.3.4. When calling the coap_send interface, it returns COAP_INVALID_MID. I noticed that there is a native print statement before printing the return value, but it displays as garbled text. Even though the log encoding is set to UTF-8, the log cannot be viewed. The code also calls the following two interfaces:
The text was updated successfully, but these errors were encountered: