Re: Cookie Encoding/sharing ASP.Net and ASP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello Stephan,

Mads Kristensen wrote about this recently. see there http://feeds.feedburner.com/~r/netSlave/~3/154202987/post.aspx

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo


SB> Hi,
SB> SB> i have a little problem with cookie encoding. Our ASP.Net web-app
SB> uses UTF-8/Unicode Encoding as default. Now we write an cookie with
SB> for example the username in it. In Germany names can contain umlauts
SB> like äöüß...
SB> SB> Another web-app, written in ASP from another developer, read out the
SB> cookie and have a problem with umlauts. They uses the ISO-8859-1
SB> encoding, so there are cryptic signs instead of the umlauts.
SB> SB> How can i save the username in the cookie with another encoding? I
SB> have tried things like Encoding.Convert(unicode,iso, encodedBytes)
SB> but it doesn´t work.
SB> SB> Thanks for any hint....
SB> SB> Stephan
SB>


.



Relevant Pages

  • Re: Trying to set a cookie within a python script
    ... a string literal is one of the encodings i use to create a string ... you've got a numeric literal that's three characters long, and a name that's six characters long. ... A given file needs to have a single encoding, ... And it is alwsy wrong because the cookie never gets set. ...
    (comp.lang.python)
  • Re: Cookie Encoding/sharing ASP.Net and ASP
    ... i have a little problem with cookie encoding. ... UTF-8/Unicode Encoding as default. ... Another web-app, written in ASP from another developer, read out the cookie ... tried things like Encoding.Convert(unicode,iso, encodedBytes) but it doesn´t ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cookie Encoding/sharing ASP.Net and ASP
    ... now i have the name url-encoded in the cookie, ... The ASP-Developer says, ... UTF-8/Unicode Encoding as default. ... tried things like Encoding.Convert(unicode,iso, encodedBytes) but it doesn´t ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: CSS, CSS & let me give you some more CSS
    ... ('binary' encoding is not supported, ... >More interesting are cases where you can actually inject it into a>cookie that the site uses to make it persist. ... This email was sent through the free email service at http://www.anonymous.to/ ...
    (Vuln-Dev)
  • How to set encoding in less
    ... with vi I created a text file containg German umlauts like ä. ... In less these umlauts were displayed as. ... How can the encoding in less be adapted - in the case, mentioned, to ISO 8859, that the characters, e. ... Thomas Wiedmann ...
    (comp.editors)