Re: Html UTF to C# UTF
- From: Patrick Steele <patrick@xxxxxxxx>
- Date: Thu, 5 Oct 2006 09:53:23 -0400
In article <956D9357-F9A3-4EF4-8D50-1477ED753659@xxxxxxxxxxxxx>,
yehiaeg@xxxxxxxxxxx says...
hello,
I'm trying to decode a string with this format
"الانفال" to a unicode format,
I tried the following code but it doesn't work:
rname = rname.Replace("&#", @"\u");
rname = rname.Replace(";", "");
I heard also of HttpUtilties class but it seems it's not available when you
create a Windows Application project with c#.
In your Winforms app, simply add a reference to System.Web.DLL and then
use System.Web.HttpServerUtility.UrlDecode method.
--
Patrick Steele
http://weblogs.asp.net/psteele
.
- Follow-Ups:
- Re: Html UTF to C# UTF
- From: Yehia A.Salam
- Re: Html UTF to C# UTF
- References:
- Html UTF to C# UTF
- From: Yehia A.Salam
- Html UTF to C# UTF
- Prev by Date: Html UTF to C# UTF
- Next by Date: Re: WinInet C# - InternetSetOption
- Previous by thread: Html UTF to C# UTF
- Next by thread: Re: Html UTF to C# UTF
- Index(es):
Relevant Pages
|