K
Koen Hoorelbeke
Hi there,
I want to display a euro-sign in some of my pages (in Labels, but also in f.e. an Object List). Since this is a IMode application, those characters have only one way of showing them across the various browsers and handsets: in my resulting html it should be there as : € ( & # 8 3 6 4 ; )
a.. If I do : lblTest.Text = "€" , the resulting html returns : € , which actually shows as the string I entered, and not the euro-sign I wanted to see.
b.. If I do : lblTest.Text = HttpUtility.HtmlDecode("€"); , the resulting html returns : â,¬ (some encoded character), where I would expected this would have been € (in this case the character shows correct on only a few handsets, not on all)
c.. If I do : Response.Write("€") , the resulting html returns as "€", which is as it should be, but it 's in the response.write, which I can't use to set the text of a label or any other attribute from f.e. an ObjectList.
How can this be done ? Is there some kind of equivalent to the HttpUtility, but then for mobile pages ?
Thanks in advance!!!
Greetingz,
Koen Hoorelbeke.
I want to display a euro-sign in some of my pages (in Labels, but also in f.e. an Object List). Since this is a IMode application, those characters have only one way of showing them across the various browsers and handsets: in my resulting html it should be there as : € ( & # 8 3 6 4 ; )
a.. If I do : lblTest.Text = "€" , the resulting html returns : € , which actually shows as the string I entered, and not the euro-sign I wanted to see.
b.. If I do : lblTest.Text = HttpUtility.HtmlDecode("€"); , the resulting html returns : â,¬ (some encoded character), where I would expected this would have been € (in this case the character shows correct on only a few handsets, not on all)
c.. If I do : Response.Write("€") , the resulting html returns as "€", which is as it should be, but it 's in the response.write, which I can't use to set the text of a label or any other attribute from f.e. an ObjectList.
How can this be done ? Is there some kind of equivalent to the HttpUtility, but then for mobile pages ?
Thanks in advance!!!
Greetingz,
Koen Hoorelbeke.