Click here to get back home

unicode and numeric character reference in html

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
unicode and numeric character reference in html stefaniefauconnier 10-18-2007
Get Chitika Premium
Posted by Ben Bacarisse on October 19, 2007, 1:12 pm
Please log in for more thread options
stefaniefauconnier@gmail.com writes:

> I've got some html-files with a lot of greek characters in utf-8. When
> I open my source code, I don't see the numeric character reference but
> the character itself. How can I change this?
> I really need source codes with numeric character references.

I have a program that can do this kind of thing:

http://bsb.me.uk/software/utf-8-dump/

In particular the command:

utf-8-dump -m "&#%d;"

acts as a filter mapping UTF-8 encoded characters to HTML entities.
You may find it useful.

--
Ben.

Posted by Harlan Messinger on October 19, 2007, 1:40 pm
Please log in for more thread options
stefaniefauconnier@gmail.com wrote:
> I've got some html-files with a lot of greek characters in utf-8. When
> I open my source code, I don't see the numeric character reference but
> the character itself.

Well--that IS the point of using UTF-8--so you can enter the characters
directly in a text editor and read them in a file viewer, instead of
having to use &#nnnn;.

> How can I change this?
> I really need source codes with numeric character references.

Use global search and replace in your text editor.


Similar ThreadsPosted
represent any Unicode character by means of a markup string coded in us-ascii May 27, 2005, 10:08 pm
reference in html page August 20, 2004, 11:25 am
HTML reference guide July 10, 2006, 1:31 am
why does unicode.org offer many scripts if unicode is a single code for all characters? May 27, 2005, 6:03 pm
Amazon: "The Ultimate HTML Reference" (2008) July 14, 2008, 11:23 am
Can an HTML source file be specified in unicode ? March 13, 2005, 12:29 pm
Unicode and html - help for simple web site August 24, 2005, 6:44 pm
Can an HTML source file be specified in unicode ? October 12, 2006, 8:08 am
character to HTML ampersand escape sequence converter December 17, 2004, 11:17 am
how to reference an html page from another html page March 7, 2008, 12:43 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap