Reputation: 41
When I compile a code with a text in Spanish the accents always show like weird symbols. The file encoding is UTF-8 and the editor is configured in Spanish also.
The code:
#include "iostream"
using namespace std;
int main(){
printf("niño á é í ó ú");
return 0;
};
Output in the terminal:
ni├▒o ├í ├® ├¡ ├│ ├║
Please tell me if it is possible to change this, it's too annoying.
I've change the file encoding and the editor language and nothing works.
OS: Windows
Upvotes: 3
Views: 42