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
compile warning about UTF-16 #784
Comments
This error suggests your string fields contain invalid UTF-16 value and after converted to UTF-8 it will not contain the same value. |
I'm sorry I should have been more explicit: I meant that I get this error from building your latest release. The compile does not fail, but when checking the logs I found this message. Its printed during the compile (or subsequent tests, I don't know). Do I do something wrong when compiling your release? Does it mean I configured wrongly? |
No, it's fine. We have tests to verify the behavior when invalid UTF-16 string is encountered and that's why you see these warning when building protobuf. You can safely ignore them. |
Thanks! Ignoring the issue, and closing as "won't fix"! |
Actually the behavior is still a bit unfortunate... I have just spent another hour to figure out why I get this warning during the protobuf-java compile, just to find my own issue here, from one year ago! Do you think it would be possible that the tests run without throwing this exception? I think many users must be scared to run the tests and see exceptions being thrown... |
I get the following compiler warning on Ubuntu 15.04:
Is this a problem? Can I do something to fix it? Thanks for your great work!
The text was updated successfully, but these errors were encountered: