Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET replaces characters in output
Message
General information
Forum:
ASP.NET
Category:
Web Services
Title:
ASP.NET replaces characters in output
Miscellaneous
Thread ID:
01160732
Message ID:
01160732
Views:
57
Hi guys

I'm having the following problem with an ASP.NET Web Services application I'm working on. I have a Web method that returns a string that contains characters like ASCII 138,142 among others. The problem is that when the string is returned to the client for some strange reason all the occurrences of CHAR 138 are replaced by CHAR 63.

To test things I wrote this small web method to test things.

[WebMethod]
public string ReturnCharacter()
{
return Convert.ToChar(138).ToString();
}

I obtain the same results. The Client received a "?" (CHAR 63) instead of CHAR 138.

Thanks in advance guys.
"If glory comes after death, I have no hurry"
Marcial
Next
Reply
Map
View

Click here to load this message in the networking platform