471,598 Members | 1,186 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,598 software developers and data experts.

unicode and numeric character reference in html

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.

Oct 18 '07 #1
6 3885
st****************@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.
Most probably, you used a text editor supporting UTF-8 and the greek
characters are encoded in UTF-8. This is perfectly fine.
How can I change this?
I really need source codes with numeric character references.
To see the Unicode code points, use an hex editor.
Do you want to convert these characters to HTML character references such
as &#N; where N is a number in decimal notation?

--
If you've a question that doesn't belong to Usenet, contact me at
<ta*****************@yahoDELETETHATo.fr>
Oct 18 '07 #2
To see the Unicode code points, use an hex editor.
Do you want to convert these characters to HTML character references such
as &#N; where N is a number in decimal notation?
yes, I do...

i'll have a look at this recode program.

Oct 19 '07 #3
On Thu, 18 Oct 2007, st****************@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. How can I change this?
I really need source codes with numeric character references.
Open in Mozilla or a similar creature and save your files
in the encoding ISO-8859-1. All characters outside ISO-8859-1
will be converted to numeric references.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Oct 19 '07 #4
st****************@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.

Oct 19 '07 #5
Scripsit st****************@gmail.com:
You ask me why?
Thank you for Upside-down Fullquoting, the standard cluelessness indicator.
This search engine can only
handle numeric character reference. I know this is weird,
No, it's simply crappy software and should not be used for anything related
to HTML authoring for the WWW. There you have the real problem.
I managed to solve the problem
No, you just created the illusion of being able to live with the problem.
The problem, I repeat, is a "search engine" that is not useful, in a world
with free search engines available around the globe.

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

Nov 2 '07 #6
Jukka K. Korpela wrote:
Scripsit st****************@gmail.com:
>This search engine can only
handle numeric character reference. I know this is weird,

No, it's simply crappy software and should not be used for anything
related to HTML authoring for the WWW. There you have the real problem.
He didn't specify what the search engine searches.
It may (or may not) be a very specific search engine, with highly complex
underlying technologies so that, there may be no alternative. For
instance, a search engine looking for specific english grammatical
constructs with a true english language grammar parser.
In that case, he may have to live with the quirks and bugs of this search
engine, or ask for support from the software developers, if there's still
support for this software.

--
If you've a question that doesn't belong to Usenet, contact me at
<ta*****************@yahoDELETETHATo.fr>
Nov 2 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by S. | last post: by
5 posts views Thread by Nancy | last post: by
11 posts views Thread by Patrick Van Esch | last post: by
1 post views Thread by Mark Johnson | last post: by
15 posts views Thread by John Salerno | last post: by
8 posts views Thread by lorenzo.viscanti | last post: by
4 posts views Thread by Jason | last post: by
29 posts views Thread by Ioannis Vranos | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.