Bookmark Topic Watch Topic
  • New Topic

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

 
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?


 
Saloon Keeper
Posts: 8911
167
  • 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
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!