Unknown unicode characters in Image source broken on iOS in New Architecture #43462
Labels
Component: Image
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Platform: iOS
iOS applications.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
In new architecture, both bridgeless and not, using the Fabric Image component on iOS with an image containing a strange unicode character, the image will not get rendered regardless if it's a local or remote asset.
In old arch and on android (old+new) this was not an issue.
It leads me to believe it has something to do with passing "invalid" strings between JS and Native.
Applies to current stable version and latest RC.
Steps to reproduce
Test__.png
.<Image source={require('../Test__.png')} />
.React Native Version
0.74.0-rc.3
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/oblador/react-native-fabric-image-unicode-issue
Screenshots and Videos
The text was updated successfully, but these errors were encountered: