staidedillcer
New Member
I have my REST web service that should receive GET encoded requests with cyrillic letters.For example: www.service/srv?param1=%D1%E0%ED%EA%F2I know that this is Windows-1251 ISO-8859-1, but as a value of input parameter in my web service function allways have something like question marks . I gues that service convert string to UTF-8.Is it possible to recive GET request in Windows-1251 codepage?There was a similar thread: Cyrillic letters are incorrectly encoded in the C# Web ServiceThe answer was to use utf-8 encoding. But im my case I cant change request to web service.Web service description:\[code\][OperationContract] [WebInvoke(Method="GET", ResponseFormat=WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = @"param?p1={p1}&p2={p2}&p3={p3}