D
D
Denis Fedorets2017-11-23 18:21:13
linux
Denis Fedorets, 2017-11-23 18:21:13

Cause of encoding problems when running windows service in centos via mono+xsp4?

Hello. Please tell me where to dig.
Here I'm trying to run a simple web service created under Windows in Visual Studio on a Centos machine using mono and xsp.
Made a simple method, much easier. Browser - Firefox.

[WebMethod]
        public string GetStr_Test(string cityName)
        {
            return cityName;
        }

in case of Cyrillic input, displays question marks. tell me which way to dig, where the problem nests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2017-11-24
@fedorez

In the direction of encoding, of course. Windows most likely uses native Windows-1251, but UTF-8 should be

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question