Ask a Question related to ASP.NET General, Design and Development.
-
Harley #1
foreign character encoding
im working on an ASP.NET app in VB.NET and have problems with foreign
characters.
everything works ok, special characters are presented ok onscreen when typed
in the body of the page, using html encoding or not, i.e.
á and á both display an a with an acute symbol
the problem come when is pass foreign characters using parameters and get
the using Server.Params or Request.QueryString, they simply disappear.
a call test.aspx?param=áaée
should show the param string as áaée, but it only shows it as ae.
both pages are using utf-8 charset, but i also tryied without it, and didnt
work either...
also tryied to encode the querystring using Server.HtmlEncode(string) and
Server.URLEncode(string) before passing it, but nothing...
my system is configured as any regular us machine, english os, english
explorer, etc. nothing special there... any hint?
Harley Guest
-
Character Encoding
When attempting to retrieve a Greek RSS feed via mx:HTTPService the characters return in an unreadable state. The following code easily replicates... -
Helvetica foreign character problems in Illustrator 10
This might not be Illustrator's fault but it seems to be the only app affected. On opening artwork containing foreign characters (á, ö, ê etc) in... -
Web Service and Swedish Character Encoding
I am building an XML Web Service, the Client in Delphi 7, the Server in MS ASP NET C# and with a database in SQL 2000. When I send Swedish... -
Dreamweaver and character encoding
Those special characters are actually double-byte characters and so not within the ISO-8859-1 standard. This is incorrect. ISO-8859-1 is an 8-bit... -
Ruby Character Encoding
Hi, In message "Ruby Character Encoding" on 03/07/15, Mark Wilson <mwilson13@cox.net> writes: |I'm interested in any (i.e., arbitrary)... -
Steve C. Orr, MCSD #2
Re: foreign character encoding
Have you tried setting it to use unicode?
Here's more info on the subject:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconencodingbasetypes.asp[/url]
Also, have you checked the Globalization section of the web.config?
Try changing it to something more like this:
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Harley" <harleyobrien%40hotmail.com> wrote in message
news:%23szTg6xUDHA.3312@tk2msftngp13.phx.gbl...typed> im working on an ASP.NET app in VB.NET and have problems with foreign
> characters.
> everything works ok, special characters are presented ok onscreen whendidnt> in the body of the page, using html encoding or not, i.e.
>
> á and á both display an a with an acute symbol
>
> the problem come when is pass foreign characters using parameters and get
> the using Server.Params or Request.QueryString, they simply disappear.
>
> a call test.aspx?param=áaée
>
> should show the param string as áaée, but it only shows it as ae.
>
> both pages are using utf-8 charset, but i also tryied without it, and> work either...
>
> also tryied to encode the querystring using Server.HtmlEncode(string) and
> Server.URLEncode(string) before passing it, but nothing...
>
> my system is configured as any regular us machine, english os, english
> explorer, etc. nothing special there... any hint?
>
>
Steve C. Orr, MCSD Guest
-
Harley #3
Re: foreign character encoding
the web.config settings did it.
thank you!
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:eXDQv2zUDHA.3312@tk2msftngp13.phx.gbl...[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconencodingbasetypes.asp[/url]> Have you tried setting it to use unicode?
> Here's more info on the subject:
>get>
> Also, have you checked the Globalization section of the web.config?
> Try changing it to something more like this:
>
> <!-- Web.Config Configuration File -->
>
> <configuration>
> <system.web>
> <customErrors mode="Off"/>
> <globalization
> fileEncoding="iso-8859-1"
> requestEncoding="iso-8859-1"
> responseEncoding="iso-8859-1"
> />
>
> </system.web>
>
> </configuration>
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Harley" <harleyobrien%40hotmail.com> wrote in message
> news:%23szTg6xUDHA.3312@tk2msftngp13.phx.gbl...> typed> > im working on an ASP.NET app in VB.NET and have problems with foreign
> > characters.
> > everything works ok, special characters are presented ok onscreen when> > in the body of the page, using html encoding or not, i.e.
> >
> > á and á both display an a with an acute symbol
> >
> > the problem come when is pass foreign characters using parameters andand> didnt> > the using Server.Params or Request.QueryString, they simply disappear.
> >
> > a call test.aspx?param=áaée
> >
> > should show the param string as áaée, but it only shows it as ae.
> >
> > both pages are using utf-8 charset, but i also tryied without it, and> > work either...
> >
> > also tryied to encode the querystring using Server.HtmlEncode(string)>> > Server.URLEncode(string) before passing it, but nothing...
> >
> > my system is configured as any regular us machine, english os, english
> > explorer, etc. nothing special there... any hint?
> >
> >
>
Harley Guest



Reply With Quote

