ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

core: use char slicing instead of byte slicing

Open oadq opened this issue 6 months ago • 0 comments

Fix a panic which can occur when pasting non-ASCII characters into a textbox. Use character slicing instead of byte slicing when limiting the length of the text being pasted in.

This fixes issue #17675.

oadq avatar Aug 27 '24 21:08 oadq