Unable to translate bytes [FC] at index 35 from specified code page to Unicode

前端 未结 4 488
你的背包
你的背包 2021-01-02 06:56

I\'m trying to send an object like this to my REST API(built with asp net core)

{
    \"firstName\":\"tersü\",
    \"lastName\":\"asda\"
}

4条回答
  •  长发绾君心
    2021-01-02 07:09

    Not a direct solution to the question asked - but a solution for a related problem:

    I was having this error message when downgrading a Winforms application from Net.4.0 to Net.2.0 (because of 3rd party form control issues)

    Every instance of an ImageList object that was specified in the forms designer was affected.

    I cut all such instances out of the RESX file and out of the Designer code, made them private objects, and did the required initialization in the Form_Load event.

    No problems since then in Net.2.0 or Net 4.0 configurations.

提交回复
热议问题