File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML Errors

 
Anthony Della Rosa
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Michael Beauchamp
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Anthony Della Rosa
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic