Skip to content
WJunction - Webmaster Forum

Encoding Problem :(

Status
Not open for further replies.
Code:
Dim buffer As Byte()

System.Web.HttpUtility.UrlEncode(System.Web.HttpUtility.UrlEncode(username)) 'username = "CatchItbaby - 1988"
buffer = Encoding.UTF8.GetBytes(data)


postStream = re.GetRequestStream()
postStream.Write(buffer, 0, buffer.Length)
 postStream.Close()

whenever username contain minus sign it converted into � how to correct this problem

Thanks
 
Status
Not open for further replies.

About the author

C
Active Member · Joined
623
Messages
20
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom