Re: accent and Request.Form



Thus wrote Franz,

i have an html page that send datas from a form to an aspx page.

when, in aspx page, i take the value with Request.Form.Item("Nome") i
can't get the accents.

let's say, if i type the string "pietà", when i get it in the aspx
page i see "piet"

does anybody knows how can i fix this?

The client is using the wrong request encoding. Insert
<meta id="Meta" runat="server" http-equiv="content-type" content="text/html; charset=UTF-8" />
in the <head /> of your HTML form.

Cheers,
--
Joerg Jooss
news-reply@xxxxxxxxxxxxx


.



Relevant Pages

  • Suppress Form Action
    ... A custom server control has a Button. ... Private strConfirmMsg As String ... Public Property ConfirmMessageAs String ... using the above custom control in an ASPX page (assume that the ASPX ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Suppress Form Action
    ... Private strConfirmMsg As String ... Public Property ConfirmMessageAs String ... using the above custom control in an ASPX page (assume that the ASPX ... 'Cancel' button in the confirm dialog, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Adding codebehind files to an app. developed using .net framework
    ... Create a new web project and import all of your ASPX files. ... Steps to "fix" your site, if necessary ... > string col; ...
    (microsoft.public.dotnet.framework)
  • Dynamic Controls
    ... Public Property AddressAs String ... a SqlDataReader to the calling function which exists in a ASPX page: ... This is the ASPX page that uses the user control & the DLL: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Do i loose the power of asp.net if i use a custom extension (not .aspx) with IHttpHandlerFactory
    ... but i dont want lots of .aspx files. ... my consumers use .ascx user controls. ... >> thinking and the .net framework has done. ... >> public virtual IHttpHandler GetHandler(HttpContext context, string ...
    (microsoft.public.dotnet.framework.aspnet)