Bookmark Topic Watch Topic
  • New Topic

Java program generates html output with question mark symbols after < anchor  RSS feed

 
Marc Christopher
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
The output appears as
<�META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-2022-JP><�HTML><�BODY><�TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=100%><�TR COLS=2><�TD WIDTH=94% BGCOLOR=WHITE><�FONT FACE=VERDANA COLOR=NAVY SIZE=4><�B>

I have tried setting the mime type
I have tried using character encoding

Neither way works. The source is as follows:
view plaincopy to clipboardprint?


 
Stephan van Hulst
Saloon Keeper
Posts: 7817
142
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Marc, welcome to CodeRanch

Let's continue the discussion in your other thread: http://www.coderanch.com/t/535427/java/java/Java-program-generates-html-output
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!