1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Character Set problem

Discussion in 'C#' started by maxxtro, Jun 15, 2006.

  1. #1
    Hi,

    We've got a content management system causing us problems with the pound sign (£).

    On the website and in the database it is shown as a £ sign, however, within the admin section in the form, it is being displayed and submitted as £. The pages have been encoded as iso-8859-1

    Anyone else had a similiar problem or know what I could be doing wrong.

    Cheers
     
    maxxtro, Jun 15, 2006 IP
  2. Paz

    Paz Well-Known Member

    Messages:
    587
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Hi,

    yes I've seen it on some web pages. What happens if you escape the pound sign with a £ as you might do with a non-breaking space eg &nbsb; ?

    Cheers,
    Paz.
     
    Paz, Jun 15, 2006 IP
  3. maxxtro

    maxxtro Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah, if I change the '£' sign in the database to £ it does only show up as a '£' in the form within the admin panel. Which is good.

    Any suggestions on how I can get it so that it submits correctly from the admin panel.
     
    maxxtro, Jun 16, 2006 IP
  4. Paz

    Paz Well-Known Member

    Messages:
    587
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    170
    #4
    Hi,

    I'm not sure if I understand you correctly, but I think you mean that you want input the pond sign directly anyway?
    I think the easiest way would be to switch from 8859 to UTF-8.

    Cheers,
    Paz.
     
    Paz, Jun 16, 2006 IP
  5. maxxtro

    maxxtro Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That was perfect - thanks for your help
     
    maxxtro, Jun 16, 2006 IP
  6. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #6
    the UTF-8 or WebSafeCode for it is £
     
    ludwig, Jun 21, 2006 IP