Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pound sign (�) in form submission

 
Kevin Stembridge
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
My apologies if I'm not in the right forum for this question.

I have a page with a form that accepts arbritrary user input in a textarea. If i enter a pound sign (�) and then submit the form, the server receives the characters A� (with a circumflex over the A). My pages are encoded in UTF-8 and have the appropriate meta tag for that charset. The UTF-8 hex code for the pound sign is C2A3, but this is obviously getting split into 2 separate characters C2 for the Acircumflex and A3 for the pound.

I don't know if this is a browser issue, a server issue or an application code issue. I've tested with the 4 combinations of JBoss vs Geronimo and Firefox vs Opera and the problem occurs in all those tests.

Thanks in advance for any help.

Kevin
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article may prove useful: Character Conversions from Browser to Database
[ February 10, 2006: Message edited by: Jeff Albertson ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic