Jump to content

Asking for help on HTML Standards


ramfree17
 Share

Recommended Posts

Hi,

 

Here is my current problem. We are developing a java web application suite and one of the screens requires a numerical input (currency). During one of the testing sequence, the tester entered the umlaut symbol (¨) which of course is an invalid character. In Ie, the page returned had the umlaut symbol changed to ¨ but firebird changes it to ¨. I know that both are still correct since they are just the umlaut symbol represented in different ways. But I cant find a decent documentation to back me up that this is not a defect on the software.

 

I tried creating a sample page like this

<html>

<body>
 This sentence has 3 kinds of umlaut: raw ¨, entity1 ¨ and entity2 ¨ 
 <br>
 Modern browsers will display them equally without any problems.
   <form>
       First box: 
       <input type="text" name="firstname" value="This sentence has 3 kinds of umlaut. ¨, 12¨00 and ¨">
   </form>
</body>
</html>

 

and opened them using IE and Firebird. Both displays everything normally so I am deducing that the change is being done by the application server, but why differently for each browser? How do I prove to management that this is not unusual? Thanks for any help. :)

 

ciao!

 

[edit] I thought it might be the http transport that is doing that but when I saved the html page in the root of a webserver (IIS), the umlauts are still being rendered as the umlaut symbol.

Link to comment
Share on other sites

I'm not entirely sure what you're asking, in HTML4 the umlaut is represented by Ampersand-Hash-168-semicolon if thats any help to you.

 

[edit: Ampersand-Hash-168-semicolon was diaplyed as an umlaut]

Edited by Qchem
Link to comment
Share on other sites

http://www.w3.org/MarkUp/Guide/Advanced

 

Nothing wrong with ¨

 

If you ask me, I think that Firebird is just smarter about this (it has a tendency to ;) ). If it really matters that much, then why don't you transform it into the appropriate value (hexadecimal notation or st.)? That way, no-one will know the difference, should only be one or two lines of extra programming.

 

 

Darkelve

 

 

[Edit: maybe you can use ¨ = Ampersand-Hash-168-semicolumn ?]

Edited by Darkelve
Link to comment
Share on other sites

sorry guys if i didnt make myself clear. i am not involved in the programming per se. im just one of the tech support guys that finds out what the management/developers need.

 

i stumbled on this page (and together with darkelve's link) which further strengthens my theory that it is the browser that transforms the umlaut to its other entities. now i only need to find out a specific article that backs it up.

 

thanks again.

 

ciao!

Link to comment
Share on other sites

Found a few more links, sorry I can't be of more help...:

 

http://phpwiki.sourceforge.net/phpwiki/Ide...sformationRules

http://www.w3.org/MarkUp/html-spec/html-sp...ec_3.html#SEC18

 

www.utoronto.ca/ian/books/html4ed/appa/appa.doc

 

http://www.cookwood.com/html/extras/entities.html

 

http://www.computertorture.com/xhtml/character.xhtml

 

http://www.w3schools.com/html/html_entitiesref.asp

 

http://www.itts.ttu.edu/documentation/html/html11.html

 

 

Darkelve

P.S.

It seems like number; is NOT official Xhtml and that &word; should be used, sorry for that confusion!

Edited by Darkelve
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...