Skip to main content
Inspiring
August 21, 2009
Question

 Symbol appearing before £.

  • August 21, 2009
  • 2 replies
  • 2859 views

Hi,

In one of our report we face this issue, like it is displaying the "Â" before £, Trademark and Registered symbols.

I tried setting the encoding as "UTF-8" using <cfprocessingdirective> , <cfcontent> and SetEncoding() functions.. But none of them were worked.

Can any one shed some light here?

    This topic has been closed for replies.

    2 replies

    Inspiring
    August 21, 2009

    first off, please don't use NCR. use the actual char.

    most likely your encodings (cf page vs cf server) aren't matching.

    what do you mean by "report"? cfreport?  where are these chars coming from? statict text? db?

    DavermsAuthor
    Inspiring
    August 21, 2009

    Hi Paul,

    Thanks for the tip.

    In server where can I set the encoding setting?. I saw one under the "CFMail settings" in Admin.

    Ours is a simple html report served by VB Dll (which actually comes from Mainframes).

    Inspiring
    August 21, 2009

    ah, so what role does cf play in this?

    if the report's getting produced by VB, find out what encoding it uses (guessing windows-1252 or maybe less so, latin-1). since cf6, cf defaults to utf-8. i'm going to guess that you probably can't change the mainframe's encoding, so change cf's. stick a cfprocessingDirfective tag at the top of the cf page & set the pageEncoding option to whatever the html report is using (or just keep guessing until it looks ok).

    Dileep_NR
    Inspiring
    August 21, 2009

    Hi

    Please use ASCII instead of   £

    ASCII -   &#163;