DEV Community

Discussion on: Tips of i18n for Spanish

Collapse
 
koas profile image
Koas

Hi Karina, great article and very helpful to anyone interested in i18n for our beautiful language!

Also a trouble saver is setting the proper character encoding in the database to avoid problems with the spanish accented letters (áéíóúü) and the ñ.

For MySQL I'd reccomend utf8mb4_unicode_ci, since it's the only one that guarantees full UTF character coverage (even for emojis!). There's a great article about that here: mathiasbynens.be/notes/mysql-utf8mb4