HTML - Different Characters Displaying.
Hello,
I have a web page that is built using components. The footer of the page is a component. When building the page, the footer is added using a glob. In the footer, there is supposed to be a bunch of Korean characters. Currently, they are not displaying properly. When the glob is viewed alone, it is still incorrect. However, if the source is viewed, the Korean characters are correct in the source, but are displaying incorrectly in the page. The charset is already set to UTF-8. What could be the issue here? Similar TutorialsHi I am relatively new to HTML and ASP and have been asked to help update intranet and website pages for a company who very suddenly found themselves without a web developer. I took pages that are currently on the website and changed the content to show the new press release. Everything works absolutely fine in various browser, various versions of browsers and operating systems. The one thing that worries me is I did not use reserved characters anywhere, where I noticed the previous web developer did. Should I have used them or is it not needed anymore as browsers have changed? Is it may be needed for software used by the visually impaired? Examples of where she used it: New Zealand - I just used New Zealand “ and ” - where I just used " " Any help would be much appreciated! I have a problem with IE6 and 7 not rendering a special character, the double up arrow, "& u A r r ;" <a rel="nofollow" href="#top">⇑</a> content="text/html; charset=iso-8859-1"> I am using the special character as link text to get the user to the top of a very, very long page with a single click. The character renders properly in FF, OP and SA. To my dismay, I just discovered that IE renders it as a box on top of the link underline. Is there any simple way, css, magic, etc., that I can get this character to render properly? The single up arrow renders, but looks anemic, and I don't want to have "Top" appearing at the end of every paragraph. (I don't want the search engines to think I am stuffing the keyword "Top".) Two single up arrows looks strange. I'm afraid to use an image since I could encounter position problems with different browsers. While suggestions for alternative design solutions are welcome, I am really after a technical a way to use the double up arrow in IE. The page: http://www.iaps.com/list-of-internet...ns-199010.html Thanks I am reading this: Quote: Another important special character you should know about is the & character. If you'd like to have an & in your html content, use the character entity & instead of the & character itself. I don't understand the entire paragraph above, can any give an example of the above or explain in another way please? How can I limit the number of characters that will be shown from a field of a DDBB on a td ? Thanks, Ignacio Francisco Penin Hi, I try to display my string "as is" in HTML page. I know the solution is escape characters. I know I can use a couple of pairs, like this Code: strResult = ReplaceCharacters(strSource, chr(38), "&") strResult = ReplaceCharacters(strSource, chr(60), "<") strResult = ReplaceCharacters(strSource, chr(62), ">") strResult = ReplaceCharacters(strSource, chr(10), "<br />") strResult = ReplaceCharacters(strSource, chr(34), """) strResult = ReplaceCharacters(strSource, chr(160), " ") which should be pretty easy to understand, just replaces characters with HTML escape characters. How about replacing a tab (chr(11)) with HTML code? Is there any escape character for that? Is there some others that I should add to my code? Hi, I am currently doing some work on our companies website. As part of this we want to add product codes to keywords to improve rankings in Google, however most of our codes include a forward slash (/), e.g. CC/250S. Does anyone know if the forward slash is a valid symbol in the keywords field, or would this make cause problems in the code? What is the most simple code that trims text past x characters? I dont need a ...more link or anything, just the trim. Hello, I have a site with UTF-8 encoding. The site uses some japanese characters. However some customer complains that they can see only small boxes instead of the japanese characters both with IE and Firefox. It is probably OS related as the problem occurs only on XP machines (at least until now). But not all XP shows the wrong characters only some of them. Any idea what to suggest to the visitors? Thanks in advance! Greetings, If you access the following website http://www.chrisnieratko.com/ in IE / Firefox, you can view the site perfectly. However, with Chrome / Safari, you can't. You just see a bunch of code with ascii question marks. I know it's missing the doctype declaration, but is it the question marks that make it not visible for those browsers? (Chrome / Safari) When the site's pages are opened in notepad, textpad and notepad++, the question marks aren't there... so how do you eliminate them? Does anybody know of another editor that will view / edit these? Does anybody know if that's even the problem? How did they just appear out of nowhere? Most importantly; How would YOU fix this problem in the easiest way possible? (I'm guessing a certain type of text editor with a search function, then search / eliminate them and re-save the file?) Any help is MUCH appreciated! Thank you so much in advance for your time! I know all the easy ones like hearts and spades, but i want to do the really cool ones like crowns and clouds for myspace. This site has them: http://www.bigbaer.com/sidebars/entities/ but it only has the numbers and i need the words [ex. it has &1321442; instead of &blahh; ]. And myspace only accepts the word codes so can anyone either tell me how to convert the numbers into letters or give me some help on this?! -The actualy characters i want are stars and crowns Here is a screen shot of my problem, and below the source code for my site, hopefully you can help, you always provide great assistance that is greatly appreciated! Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><link rel="canonical" href="http://www.richandbalanced.com/"/><title>Rich and Balanced™</title> <meta name="description" content="How to live a life that's both rich and balanced." /> <meta name="keywords" content="Rich, Balanced, Life, Money, Health" /> <meta name="author" content="Samuel Sweis" /> </head> <link rel="shortcut icon" href="image-files/"> <link rel="stylesheet" type="text/css" href="http://www.richandbalanced.com/support-files/style.css"> <body> <img class="displayed" src="http://www.richandbalanced.com/image-files/richandbalanced.jpg" width="498" height="209" alt="Rich and Balanced logo" border="0"> <div class="reight"> <div id="rbleft_sidebar"> </div> <div id="rbcontent"> <p> Hello and welcome to Rich and Balanced™. My name is Sam Sweis. Did you know that we have the ability to change and create the life of our dreams? I do, and I want you to know that whatever it may be that you are going through or whatever it is that you would like to change and/or create, that it is possible to do so. </p> <p> I've turned my life around in more ways than you could imagine. I was an alcoholic. I was a smoker. I was a drug user. A terrible husband. Divorced. Buried in debt. In and out of school and in and out of jobs. I was out of shape. Obese. Depressed. Angry and in broken relationships with family and friends. The future was a mystery to me. </p> <p> Today, I'm a proud father. My financial life is a dream come true. I have no major debt, my income is always growing, and I'm an excited business owner. My relationships with family and friends are overflowing with love and happiness. I'm tobacco free, drug free, alcohol free, and gambling free. I've slimmed down my weight and put on muscle. I'm healthy, fit, and confident. But most of all, I get to spend my time the way I want doing what I want. The future is looking bright. </p> <p> Welcome to the place I call home. Rich and Balanced™ was designed with you in mind. Revealed for the first time in my life are the documents I use in private and secrecy that have changed my life and continue turning my dreams into a reality. I put together this entire site, from the web designing to the graphics, and I couldn't be happier at transforming my knowledge to you.</p> <p> <a href="http:/www.richandbalanced.com" onClick="window.location.href='http://www.richandbalanced.com/cgi-bin/counter.pl?url=http%3A%2Fwww%2Erichandbalanced%2Ecom&referrer=http%3A%2F%2Fwww%2Erichandbalanced%2Ecom%2Findex%2Ehtml'; return false;">Click here</a> to continue reading, or if you are busy at the moment take a second and bookmark this page to save for later viewing. <a href="http://www.richandbalanced.com">Click here</a> to find out how to bookmark this website. Thank you for visiting Rich and Balanced™. </p> </div> <div id="rbright_sidebar"> </div> <div id="rbfooter"></div> </div> <iframe src="http://www.richandbalanced.com/bottompage.html" width="100%" height="100%" frameborder="0"></iframe> </body> </html> Here is my issue: I'm loading an XML that contains special characters (like French characters) and they are not displaying properly. My XML file is encoded in UTF-8. My charset is set to UTF-8 in my HTML document. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> When I take out the charset completely (don't declare character encoding at all), it displays properly?! (Ack!) I want my HTML to validate properly because I'm attempting to write clean XHTML, but this is leaving me a bit confused. Can anyone explain what is happening? Why does it display correctly when I don't specify a charset? Hi, I'm a newbie, and have taught myself from books and the web, so please be patient with me! I have noticed these symbols appear at the bottom left of my index page: My site is http://www.artish.com.au. It doesn't appear when I check the page before uploading it. It only seems to appear in IE (firefox doesn't show it). Just wondering what it is, and how to get rid of it? Thanks in advance for any help offered... Leticia I'm getting strange characters right in the middle of a word. The character looks like a rectangle with an X in it in my browser Safari. At a PC at a university the character was different, dots, I think. Here is the code for the relavent line: <LI><U> La Primavera: Music for voice, lute, viola da gamba and recorder from the English Renaissance</U> You can listen to the whole CD at Magnatune Records and it is also available <A HREF="luteCD.html#Total running time: 59:22"> <strong> here </strong></A>). Played lute as well as produced and arranged music from the late Renaissance featuring lute songs and instrumentals <BR> <align = 'right'> <a href = "mainpage.htm#Why">Back to Home Page</a> </right> Strange. The characters appear in the preview window for this message but not the window I'm typing in now. If you see the characters, there is no need to visit my page, but here is the link to the page. The troublesome line is at the bottom. http://www9.plala.or.jp/edurbrow/personalhistory.html TIA My page is trying to set some cookies with semi-colons in some of the values, but (in Firefox) they are not being saved correctly - the saved values are being truncated at the semi-colon... (So, for example, instead of saving the value "name;age;" in the cookie, only "name" is being being saved. Presumably, you aren't allowed semi-colons in cookie values? Does anyone know what other characters are not allowed? Thanks, James |