#转码
def utf2gbk(string):
    #return string
    s=string.decode('utf-8','ignore').encode('gb18030','ignore')
    if s!=None:
        return s
    else:
        return string

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-05-02
  • 2021-05-21
  • 2021-11-18
  • 2022-02-04
  • 2022-12-23
猜你喜欢
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2021-04-28
  • 2021-11-11
  • 2022-12-23
相关资源
相似解决方案