Zalgo Text Generator: How "Glitchy" Text Actually Works

How a zalgo text generator creates glitchy, corrupted-looking text using stacked Unicode combining characters - and why some apps handle it better than others.