divamgupta / divamgupta/diffusionbee-stable-diffusion-ui
unrecognized/extended character crash
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 727
- PR merge metrics
- No merged PRs in 30d
Description
Version: 1.4.3 (0014)
When a prompt has an unrecognized character app crashes with an error message like:
`Backend quit unexpectedly. Could not cast value of type 'NSNull' (0x1f28a5380) to 'NSNumber' (0x1f28a15a8).`
For example, "Twitter’s Slow and Painful End"
Notice the apostrophe in the prompt is ’ (Unicode: U+2019, UTF-8: E2 80 99) rather than ' (Unicode: U+0027, UTF-8: 27).
You can also naturally trigger a similar crash with an emoji 😀 (Unicode: U+1F600, UTF-8: F0 9F 98 80)
Expected Result:
DiffusionBee gracefully handling or ignoring unexpected characters
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.