wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes HTML Errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML Errors" Watch "HTML Errors" New topic
Author

HTML Errors

Anthony Della Rosa
Greenhorn

Joined: Mar 19, 2007
Posts: 12
Okay this may not be the best way to start this topic but I have some html errors I am getting. It seems that the tags are correct but when it displays in the browser window, I get these weird symbols almost like hieroglyphics. Does anyone know if this could be from cut and pasting text from the web??? It happened to 2 of my students in class who are using Text Edit and Firefox and cut and pasted text from the web (not code)


Thanks


- Mr. D
Michael Beauchamp
Greenhorn

Joined: Mar 03, 2005
Posts: 23
Yes. This could be from copying and pasting. A simple way to remove those weird characters is to paste the text into a text editor like Notepad. Then, copy and paste again from Notepad to your html. At least then, you will know what you're pasting.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60077
    
  65

You can see this a lot when cutting and pasting "junk characters" from programs such as Word. Make sure that you're not pasting such "special" characters (like the special quotes that Word uses).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anthony Della Rosa
Greenhorn

Joined: Mar 19, 2007
Posts: 12
Has anyone seen browser results like this?





㰊㹐㰊䘀伀一吀 匀䤀娀䔀㴀㐀 䌀伀䰀伀刀㴀䜀刀䔀䔀一㸀值>POPULAR SPORTS INCLUDE FOOTBALL,BASKETBALL,VOLLEYBALL,WATER-POLO,FENCING,RUGBY,CYCLING,ICE HOCKEY ,ROLLER HOCKEY AND F1 MOTOR RACING. ACCORDING TO THE GDP CALCULATIONS, ITALY WAS RANKED SEVENTH IN THE WORLD IN 2006,BEHIND THE U.S,JAPAN,GERMANY,CHINA AND FRANCE AND HIS THE FOURTH LARGEST IN EUROPE.⼼但呎㰾䌯久䕔㹒
A䰠伀吀 伀䘀 倀䔀伀倀䰀䔀 䰀䤀嘀䔀 䤀一 䤀吀䄀䰀夀Ⰰ匀伀 䈀䔀䰀伀圀 䄀刀䔀 吀䠀䔀 䌀䤀吀夀匀 圀䤀吀䠀 吀䠀䔀 倀伀倀唀 ;䰀䄀吀䤀伀一 伀䘀 吀䠀䄀吀 䌀䤀吀夀⸀㰀䌯久䕔㹒⼼但呎ാ਀值䠾䱅佌⼼㹐ਊਊਊਊਊ�
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Originally posted by Bear Bibeault:
You can see this a lot when cutting and pasting "junk characters" from programs such as Word. Make sure that you're not pasting such "special" characters (like the special quotes that Word uses).


Microsoft was 'kind' enough to introduce a propriety character set called cp1252 that includes fancy quotes, emdash, the euro sign and more. The newer versions of notepad recognize these characters, and therefore the old trick of cutting and pasting first to notepad doesn't always work.

Anthony, it would much easier to understand what's going on if you find the original url from which the information was taken.

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML Errors
 
Similar Threads
Copy / Paste code from posts
Design document
Unable to load tag handler class "com.midnightcookies.taghandlers.LinksHandler"
HTML to Text via Screen scrape
cut copy and paste functions