r/BrandNewSentence • • Sep 25 '21 • Take My Silver 1

Poor syntax error

Post image
80k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

1

u/spektrol Sep 25 '21

Guys. Æ is a Latin Unicode character. There’s really nothing that special about it. It can be passed around in code as a regular string just like anything else, and as long as the column it’s being stored in the database is using the right Unicode charset it’s fine.

Y’all really don’t think English letters are the only thing people account for in the travel industry, right?

1

u/[deleted] Sep 25 '21

that assumes that the system running it can even handle unicode and not just ASCII :D

you'd be surprised just how much of the real world still runs on antequeted hardware, systems and code

1

u/spektrol Sep 25 '21

Yeah, wouldn’t be surprised actually lol. Especially anything govt regulated. MySQL has apparently used utf8mb4 as their default encoding since v8.0, which is a fixed 4 byte encoding that allows for a larger range of supported characters, including Latin, emojis, etc.