I am facing problem in passing strings given in a Webvtt / smptett file having Latin 1 supplements characters (2 bytes range 0080—00FF). In C I am storing them as unsigned characters and when I am trying to print the string I am getting the hex value of such characters. for example: feelíng is getting printed as faxing
Same string I am passing to Java layer via cpp where I am using NewStringUTF for converting the string in a string. But I am getting this error :- JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0x6e. This Error specially comes in lollipop version. In previous version this character was printed as some junk values on the screen. There is already reported as an android bug, but they have mentioned that the following error is coming with 4 bytes unicode characters. Can somebody please give any suggestions regarding this. I am really stuck with this problem...