SOAP-ERROR: Encoding: string … is not a valid utf-8 string

前端 未结 6 619
情书的邮戳
情书的邮戳 2021-01-02 22:10

Hi I have a web service built using the Zend Framework. One of the methods is intended to send details about an order. I ran into some encoding issue. One of the values bein

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-02 22:58

    I found out that in my case not the encoding of strings was the problem but that the file itself was not saved as UTF-8. Even explicit saving with UTF-8 encoding did not help.

    For me it worked to insert a comment with an UTF-8 character like // Å

提交回复
热议问题