Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Question mark in binded text in template

While implementing angular translate i ran into French translation words such as: 'Propriété Catégorie' appearing in the view as Propri�t� Cat�gorie.

Dont know what this means. Is it that the used font doesnt have this character implemented? I think not since writing the HTML name é parses nicely into an é.

Question: how to implement this correctly, whats the way to go? Dont feel like going with the HTML name cause then I have to implement the way I place the translation key in a different way so it renders HTML instead of just strings.

like image 458
San Jay Falcon Avatar asked Mar 19 '26 00:03

San Jay Falcon


1 Answers

Your File is saved as ISO-8859-1 or any other 1 byte char set. You are trying to read the File as UTF-8.

The solution: Set your encoding to ISO-8859-1.

Or: Save the file as UTF-8.

like image 53
mwe Avatar answered Mar 22 '26 12:03

mwe