This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

£ is prefixed with £ in JSP  RSS feed

 
Garlapati Ravi
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am facing a problem with £ symbol in JSP, £ symbol has been prefixed with a junk character £, below are the page directives i am using.



I searched in google, no where i found solution. Requesting your Help.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is this Pound symbol getting into the JSP? Is it UTF-8 encoded at its origin?
 
Garlapati Ravi
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i removed UTF-8 from page directive,it worked fine. don't know what would be impact of it on my code.

BTW,
Is it UTF-8 encoded at its origin?
what it means ? feeling shame to ask being an SCWCD holder
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that character must somehow have become part of the JSP/HTML page, and the question is: was it UTF-8-encoded at that point? If it wasn't, that would explain why it causes problems on an UTF-8-encoded page.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!