8

Using react-native v0.31.0 on iOS (currently on iOS9 and iOS10).

I have a non-latin text inside a <Text> Component and sometimes I see it like this: enter image description here

But it actually should look like this: enter image description here

My walk-around is:

  • Sniffed the network, and the data looks as it should
  • iOS native side and the data to draw is already broken

I saw these related issues:

And this PR:

But none of these solved the issue for me.

This behaviour only happens intermittently, but on a slow connection it happens consistently.

Has anyone encountered this issue? Any help will be greatly appreciated. Thanks in advance.

Aaron Greenwald
  • 887
  • 5
  • 13
gran33
  • 12,421
  • 9
  • 48
  • 76
  • Worth noting, the data from the server is sent using chunked transfer encoding and gzip compressed. – Léo Natan Sep 23 '16 at 23:00
  • What is the server? Looks like "Content-Type: text/*; Charset= " charset has been lost. Chunked encoding can be buggy... – Ben Oct 01 '16 at 10:53

1 Answers1

0

This should be fixed in React Native v0.38: https://github.com/facebook/react-native/pull/10110

Javache
  • 3,398
  • 3
  • 21
  • 25