iOS Question Special Character Problem - Assistance

chrisinky

Member
Licensed User
Longtime User
Hi - I have an app that shares much of the same code base between Android and iOS. Android version works perfect.

The iOS portion is choking when a string is sent to the app containing a special character. In this case, it's "É”.

I'm at a loss for why Android handles and iOS does not - is there a quick/easy way to address this or something I'm overlooking?

Thanks,
Chris
 

chrisinky

Member
Licensed User
Longtime User
B4X:
Sub ast_NewText(Text As String) 'this is fired when a complete packet comes from server to the ios app (waits for EOL char to determine that).
  
   process_message(Text)
 
End Sub



Error occurred on line: 28 (AsyncStreamsText)
Error decoding data as string.
 
Upvote 0

chrisinky

Member
Licensed User
Longtime User
So - I'm using AsyncStreamsText, a remote application is sending text packet. The same exact code works fine, and the É is displayed in the android app.
In iOS it crashes. process_message is just a sub where I break apart the text packet but that doesn't fire as I believe things crash as soon as ast_newtext is raised....
 
Upvote 0
Top