Skip to content
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

App crashes with no error when unicode replacement character is present #13926

Closed
Jahans3 opened this issue May 11, 2017 · 1 comment
Closed
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Jahans3
Copy link

Jahans3 commented May 11, 2017

Description

I am making a request to an API that is returning a unicode replacement character (�) instead of an umlaut. When the request is fulfilled the app crashes immediately without any errors. I am unable to catch any related errors, the app just returns to the home screen.

I am unable to get the � character into my app except with a request, at which point it crashes. This leads me to assume RN cannot handle these characters.

Reproduction Steps and Sample Code

  1. Create a request to an API
  2. In the API's response, include the character '�'
  3. Your app will crash when the response comes through

Solution

RN should be able to handle the unicode replacement character, or throw an error when the character appears.

Additional Information

  • React Native version: 0.42.3
  • Platform: iOS - not tested on Android
  • Development Operating System: MacOS Sierra
  • Dev tools: XCode 8, all iOS versions (tested on simulator)
@Jahans3
Copy link
Author

Jahans3 commented May 12, 2017

This was an issue was react-native-pinch, closing.

@Jahans3 Jahans3 closed this as completed May 12, 2017
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants