Kiran
Kiran

Reputation: 916

Copying HTML characters instead of typing their code

Suppose, I want to use a special html character ⇒

Instead of typing it in the html file as ⇒, we can also copy paste the character ⇒ in the editor.

Is there any problems with the latter approach?

(I use notepad++ and dreamweaver as editors)

Upvotes: 1

Views: 39

Answers (2)

Esko
Esko

Reputation: 681

You need a font that has the characters you are using. Depending on the html editor, Choosing a text editor that supports UTF-8

Upvotes: 1

V33R
V33R

Reputation: 989

You have to use charset / page Encoding as UTF-8 to do so, For instance:

contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"

Upvotes: 2

Related Questions