You are here: Re: Entity Name or Entity Number? « HTML « IT news, forums, messages
Re: Entity Name or Entity Number?

Posted by Jukka K. Korpela on 02/24/07 22:11

Scripsit Samuel van Laere:

> Just to be sure, what should one use when using UTF8?
> I'm not sure if it has anything to do with the subject.

It has quite a lot to do with it, since using UTF-8, you can insert _any_
character as such into the document and won't need entity or character
references. You might still _want_ to use either of them, e.g. if you don't
know how to enter an arbitrary character (there's virtually always some way
when you use a UTF-8 enabled editor) or if the character is not a normal
graphic character but e.g. the no-break space, the zero width joiner or the
soft hyphen.

> I've used character references, and hopefully I did the right
> thing.

No problem. No need to change them. Using UTF-8, you could save some bytes
by entering the characters directly, but it probably does not pay off to
change existing document in this respect.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация