On 1 Sep., 14:54, Florian Paulus <florian.pau...@sc-cis.de> wrote:
> Snedker wrote:
> > On 1 Sep., 14:32, Snedker <Morten.Sned...@gmail.com> wrote:
> >> On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.de> wrote:
>
> >>> Snedker wrote:
> >>>> As part of URL I have ie:
> >>>>www.website.com?test=%F8%E5%C6%D8%C5
> >>>> Requesting the querystring and displaying the content on web I just
> >>>> get a bunch of squares instead of the special Danish characters thatI
> >>>> expect. But I don't know how to decode them properly. Do you?
> >>>> Any help or pointer in the right direction is greatly appreciated -
> >>>> thanks in advance!
> >>>> Kind regards /Snedker
> >>> How are you trying to decode them?
> >> Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but
> >> not with the result of "squares"...
>
> >> Regards /Snedker
>
> > ..but WITH the result of squares, that is... :-)
> > /snedker
>
> Did you try to set the default encodings to utf-8 in your web.config?
>
> <configuration>
> * * <system.web>
> * * * *<globalization
> * * * * * requestEncoding="utf-8"
> * * * * * responseEncoding="utf-8" />
> * * </system.web>
> </configuration>- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
Those exact settings are already set.
Thx for input and efforts!
Regards /Snedker