ramfree17 Posted November 28, 2003 Report Share Posted November 28, 2003 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. Quote Link to comment Share on other sites More sharing options...
Qchem Posted November 28, 2003 Report Share Posted November 28, 2003 (edited) 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 November 28, 2003 by Qchem Quote Link to comment Share on other sites More sharing options...
Darkelve Posted November 28, 2003 Report Share Posted November 28, 2003 (edited) 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 November 28, 2003 by Darkelve Quote Link to comment Share on other sites More sharing options...
Gowator Posted November 28, 2003 Report Share Posted November 28, 2003 I think its probably in the interface. Perhaps you have a IF the engine is IE then do this OR do that. Perhaps similar to this ? Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted November 28, 2003 Author Report Share Posted November 28, 2003 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! Quote Link to comment Share on other sites More sharing options...
Darkelve Posted November 28, 2003 Report Share Posted November 28, 2003 (edited) 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 November 28, 2003 by Darkelve Quote Link to comment Share on other sites More sharing options...
Darkelve Posted November 28, 2003 Report Share Posted November 28, 2003 (edited) This link *might* be your best bet: http://www.htmlref.com/reference/appc/standard.htm lots of info on the use of entities themselves, not a lot about the actual transformation in the browsers. Edited November 28, 2003 by Darkelve Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted December 1, 2003 Author Report Share Posted December 1, 2003 thanks darkelve. these links shoudl provide me with enough technical mumbo-jumbo. ciao! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.