tameemsafi / typewriterjs

A simple yet powerful native javascript plugin for a cool typewriter effect.
https://www.npmjs.com/package/typewriter-effect
MIT License
2.49k stars 221 forks source link

Thai Characters not showing up correctly on iOS devices. #137

Open gxjakkap opened 2 years ago

gxjakkap commented 2 years ago

So I use Typewriter.js to display That text on my webpage. It works perfectly fine on PC and my Android phone. But it kinda broken on my iPhone and iPad. I tried using both Safari and Chrome. Tried adding meta tag to specify utf-8. Also specifying it in script tag. No clue here.

This is how it looks on my PC (and how it should be).

image

This is how it looks on iOS Devices

image

kenshanta commented 10 months ago

have you considered using the grapheme-splitter inside the stringSplitter method?