-
Notifications
You must be signed in to change notification settings - Fork 29
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
UTF-8 string conversion methods #194
Comments
Ok, you're specifically referring to UTF8 correct? If so, could you update the bug title to reflect that? I assume you're aware that there are already string conversions for existing char*, std::string etc. |
So, I took a pass through your conversion code, and had a chance to think a bit on this myself. I think your conversion may be simple a subset of the behaviour The former case is a function that takes in a The latter converts from a UTF16 string to a regular std::string, however, LocalString just directly asks for a That said, in C++20, |
Hi,
I want suggest to add string convertion methods, example:
https://github.com/xplpc/xplpc/blob/main/jni/lib/src/xplpc/jni/support.cpp
Since this library will solve JNI problems, why not methods to work with String convertions :)
Thanks.
The text was updated successfully, but these errors were encountered: