Re: Special Characters in Query String
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Sun, 8 May 2005 12:29:57 -0400
re:
> Obviously UTF-8 is to be preferred
Why ?
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"Kim Bach Petersen" <incognito@xxxxxxx> wrote in message
news:ePpEe%239UFHA.3176@xxxxxxxxxxxxxxxxxxxxxxx
> Joerg Jooss wrote:
>
>>>strQuery = HttpUtility.UrlEncode(strQuery,
>>>System.Text.Encoding.Default)
>>
>> I suggest using a more web-friendly encoding than some Windows specific
>> default, e.g. ISO-8859-1 or UTF-8.
>
> Obviously UTF-8 is to be preferred and in most cases this is the actual default value
> returned by System.Text.Encoding.Default.
>
> Still, in my experience, one needs to use the default rather than explicitly choosing
> UTF-8 if the application is to run on _any_ webhotel without encountering encoding
> mismatch problems, at least with querystrings.
>
> Kim :o)
.
- Follow-Ups:
- Re: Special Characters in Query String
- From: Joerg Jooss
- Re: Special Characters in Query String
- References:
- Special Characters in Query String
- From: SMG
- Re: Special Characters in Query String
- From: Kim Bach Petersen
- Re: Special Characters in Query String
- From: Joerg Jooss
- Re: Special Characters in Query String
- From: Kim Bach Petersen
- Special Characters in Query String
- Prev by Date: Re: Q from a novice: how do you implement windows menus in ASP.NET
- Next by Date: Events for Controls added in code
- Previous by thread: Re: Special Characters in Query String
- Next by thread: Re: Special Characters in Query String
- Index(es):
Relevant Pages
|
Loading