mysterymagination / adventures-of-mooty-wort

An Undum eval tale, short and sweet
MIT License
0 stars 0 forks source link

replacement char in the damn exit message again #47

Open mysterymagination opened 3 years ago

mysterymagination commented 3 years ago

I think my stupid line break square wheel situation is chopping off bytes of the unicode symbol we try to toss in on the end of the message, resulting in garbage unicode and a replacement char.

mysterymagination commented 3 years ago

yo https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length#Unicode

mysterymagination commented 3 years ago

cool, added getCharacterLength(str) and things got worse? Hm.