Home > front end >  How to use the python at the same time operating utf-8 and GBK file format
How to use the python at the same time operating utf-8 and GBK file format

Time:09-16

HTML is GBK format, using the python operations require add statement # - * - coding: GBK - * -
Mysql is utf-8 format, using the python operations require add statement # - * - coding: utf-8 - * -
Now plans to use python at the same time operating HTML and mysql (HTML page input fixed content stored in the mysql), how to do this?
  •  Tags:  
  • CGI
  • Related