RBInteger result;
REALstring newString = REALConvertString(text, someEncoding); // Tested a lot of encodings here
result = REALCompareStrings(newString, text);
REALUnlockString(newString);
if(result == 0);
{
NSLog(@“Strings are still compatible”);
return;
}
Same in Xojo code
Dim a as String = “a er n a”
Dim b as String
b = a.ConvertEncoding(Encodings.MacRoman)
if b = a then
MsgBox “Strings are still compatible”
end if
Same text was sent to the plugin code
The Xojo code will hardly ever say their still compatible while the plugin code will always say their still compatible.
So…is the REALConvertString possibly broken ?