search

Home  >  Q&A  >  body text

PHP accesses the base64 inconsistency problem of the webservice interface developed by Java

Is the image path compiled by the php base64 method different from the base64 compilation method that comes with Java?

The code of the web service interface developed by Java has been written and cannot be changed. How should it be handled in PHP and how to compile it into the encoding format of Java

为情所困为情所困2802 days ago620

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 13:05:23

    php try converting the encoding to utf8, there is a similar problem, here is the link
    PHP base64_encode encrypts the Chinese string, use java to decode some garbled characters, please solve it.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 13:05:23

    The problem of inconsistent encoding, just use utf-8 encoding uniformly

    reply
    0
  • Cancelreply