knows how to decode this character?What to you mean by decode. It's not coded.
is an UTF-8 representation of the symbol.
You can use Decoder utf8Decoder = Encoding.UTF8.GetDecoder();
to work with it or convert to Unicode. But you will not fit it into ASCII
table.
George.
<emailmygroup@.gmail.comwrote in message
news:1190056632.339146.229850@.50g2000hsm.googlegro ups.com...
Quote:
Originally Posted by
>I am trying to decode character #; but it is not working. Anybody
knows how to decode this character?
>
what do mean by not working? it will creates a 1 char string with an
ascii value of 145 (which is unprintable)
-- bruce (sqlwork.com)
emailmygroup@.gmail.com wrote:
Quote:
Originally Posted by
I am trying to decode character #; but it is not working. Anybody
knows how to decode this character?
>
Asc(Server.HtmlDecode("")) ' Output = 63 = "?"
can anybody help me?
I *reaally* don't understand your question.
When I process Server.HTMLDecode("")
...what I get as a result is : '
See the sample at : http://asp.net.do/test/HTMLencode.aspx
It's the LAST label in the list, after %3f ...and the code is :
im txtenc2 as String = Server.HTMLDecode("")
lblMessage6.Text = txtenc2
It seems to render OK in that test. What is the problem you're seeing ?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
<emailmygroup@.gmail.comwrote in message news:1190125136.354524.283640@.57g2000hsv.googlegro ups.com...
Quote:
Originally Posted by
can anybody help me?
>
On Sep 18, 10:00 am, "Juan T. Llibre" <nomailrepl...@.nowhere.com>
wrote:
Quote:
Originally Posted by
I *reaally* don't understand your question.
>
When I process Server.HTMLDecode("")
>
...what I get as a result is : '
>
See the sample at :http://asp.net.do/test/HTMLencode.aspx
>
It's the LAST label in the list, after %3f ...and the code is :
>
im txtenc2 as String = Server.HTMLDecode("")
lblMessage6.Text = txtenc2
>
When I write Server.HTMLDecode("") output is as follows
Output: (not printable character so no output)
length of string: 1
Ascii value of character using Asc function: 63
Do I need to change any settings anywhere? In my web.config file
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
Thanks
Quote:
Originally Posted by
It seems to render OK in that test. What is the problem you're seeing ?
>
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en espaol :http://asp.net.do/foros/
======================================
>
>
>
<emailmygr...@.gmail.comwrote in messagenews:1190125136.354524.283640@.57g2000hsv.go oglegroups.com...
Quote:
Originally Posted by
can anybody help me?- Hide quoted text -
>
- Show quoted text -
re:
!Do I need to change any settings anywhere? In my web.config file
!<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
I'm using :
<globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1" fileEncoding="iso-8859-1" />
Can you test with those settings...and post back the result ?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
<emailmygroup@.gmail.comwrote in message news:1190130213.219447.126300@.i13g2000prf.googlegr oups.com...
On Sep 18, 10:00 am, "Juan T. Llibre" <nomailrepl...@.nowhere.com>
wrote:
Quote:
Originally Posted by
I *reaally* don't understand your question.
>
When I process Server.HTMLDecode("")
>
...what I get as a result is : '
>
See the sample at :http://asp.net.do/test/HTMLencode.aspx
>
It's the LAST label in the list, after %3f ...and the code is :
>
im txtenc2 as String = Server.HTMLDecode("")
lblMessage6.Text = txtenc2
>
When I write Server.HTMLDecode("") output is as follows
Output: (not printable character so no output)
length of string: 1
Ascii value of character using Asc function: 63
Do I need to change any settings anywhere? In my web.config file
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
Thanks
Quote:
Originally Posted by
It seems to render OK in that test. What is the problem you're seeing ?
>
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en espaol :http://asp.net.do/foros/
======================================
>
>
>
<emailmygr...@.gmail.comwrote in messagenews:1190125136.354524.283640@.57g2000hsv.go oglegroups.com...
Quote:
Originally Posted by
can anybody help me?- Hide quoted text -
>
- Show quoted text -
I changed web.config as following
<globalization requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1" fileEncoding="iso-8859-1" />
but no luck.
0 comments:
Post a Comment