Problem with the UTF-8

Asked

Viewed 1,311 times

2

Good. I’m doing a project, and I have several accents in my text. I’ve already put :

<meta charset="utf-8"/> 

in my code and yet did nothing and do not understand why ... Some help ?? print 1

print 2

  • Do the alternatives come from any database? If so, which and how is the connection made?

  • It’s not just text I introduced

2 answers

6


  • I’m using Eclipse Mars. You can tell me how to check there ?

  • @Paulo I never used Eclipse Mars, but it seems that it is in: Window->Preferences->General->Workspace and there’s a part of Text file encoding that you should mark: Other and put UTF-8

  • I selected my entire code, and I did the same deal, but I haven’t done it yet. unfortunately. I think I have to use HTML ententies

  • it is not about selecting your code, do the following, download the Notepad++, it has the option to convert the encoding of the files quickly and easily, your problem will be solved.

  • thanks ! had to download it, but at least the problem was solved

2

Hello,

If you use Notepad++, for example, here is an example of how to put your files in UTF-8:

inserir a descrição da imagem aqui

This way your files are encoded to UTF-8 and prepared for accentuation.

Cumps,

  • I am using Eclipse with Aptana plugin, thanks for the help

  • 1

    But I used the Notepad and the error was solved !

Browser other questions tagged

You are not signed in. Login or sign up in order to post.