for i in range(1,sheet.nrows):
row=sheet.row_values(i,0,sheet.ncols)
row=str(row).replace('u\'','\'').decode("unicode-escape")
print row Output :
Show before conversion :

 Display after conversion :



list Chinese transcoding in shows more related articles

  1. python matplotlib plot The Chinese in the data cannot be displayed normally

    Forward from :http://blog.csdn.net/laoyaotask/article/details/22117745?utm_source=tuicool python matplotlib pl ...

  2. How to solve GBK The encoded Chinese in the file is converted into UTF-8 It's a coded file and it's not garbled

    First of all, we have to be clear , Why the normal conversion will be garbled ? Because our data writing is GBK Written in , Then the display is displayed according to the situation of file preservation , The situation ahead is GBK, Agreement , So it's not garbled , And then it becomes UTF-8, But write ...

  3. vim Query and transform coding in

    vim Query to modify the file encoding format set fileencoding Look at the encoding of the current text :set fenc= code Convert the encoding of the current text to the specified encoding :set enc= code Display text in the specified encoding , But don't save to text ...

  4. html To ensure the normal display of Chinese

    <meta http-equiv="Content-Type" content="text/html"; charset=utf-8"/> ...

  5. PHP in json After serialization, the Chinese encoding display problem

    In the data returned by the interface , We often go back to json perhaps xml Format ,php Of json Serialization function json_encode Very easy to use , But by default, Chinese will be encoded as ASCII code ( Be careful , A lot of people think it's gibberish , It's not ), Especially in debugging ...

  6. java hold URL Chinese in Chinese is converted into utf-8 code

    private static final String QUERY = " Restaurant "; String sr = URLEncoder.encode(QUERY); System.out ...

  7. php Chinese transcoding function

    $filename= $list->filename; // Get the file name if(preg_match("/[\x80-\xff]/",$filename)){ // If it is ...

  8. manjaro in okular Medium pdf File cannot display Chinese

    The recent discovery Manjaro Next use Okular Open the PDF When the document , Many places are blank , I began to suspect that it was the Chinese font , But the Chinese display of other software is normal . next , adjustment Okular Chinese fonts in , The display is still abnormal . ...

  9. Java Web Summary of methods to solve Chinese garbled code in the project

    One . Learn common sense : 1.UTF-8 International Code ,GBK Chinese code .GBK contain GB2312, That is, if it passes GB2312 After encoding, it can pass GBK decode , On the contrary, it may not be true ; 2.web tomcat: The default is ISO8859-1, No ...

Random recommendation

  1. VS When running a project under , Detected not applicable... In integrated managed pipeline mode ASP.NET Set up .

    vs2012 When debugging, the default is integration mode ,vs2012 How to use traditional mode when debugging ? At this time, just select the startup item and press F4, Select the traditional mode from the managed pipeline mode !

  2. github Experience

    Experience  : 1: install : Omit 2. To configure Git And upload code install Git After success , If it is Windows Next , choice Git Bash , Do everything in the command line , Maybe it's starting to get a little numb Bother , But just a few command lines , use ...

  3. Unity Android connection profile debugging

    adopt USB ADB 1. from Unity in Export Android In the process of engineering, we must check Development Build,autoconnect profiler 2.cmd Get into adb The catalog of ( open ...

  4. HDU 2256 Problem of Precision ( Matrix fast power )

    Topic link :http://acm.hdu.edu.cn/showproblem.php?pid=2256 The most important thing is to build recursion , The picture below is stolen . It seems that this is called conjugate number . #include <iostr ...

  5. android96 Memory to create a copy of the picture , Sketchpad

    package com.itheima.copy; import android.os.Bundle; import android.app.Activity; import android.grap ...

  6. codevs 4827 sister

    /* Naked math problems All kinds of whole + Insert empty So It's important to learn mathematics well ans=(n-1)!*(m-1)!*(2+(n-2)(n-1)) */ #include<iostream> #incl ...

  7. zTree Application examples are given in detail

    zTree Application examples are given in detail (1) Because of the needs of the project , To create a dynamic file tree , In addition to asynchronous acquisition of child nodes , We also need to increase the number of tree nodes . Delete . Change . check . Move . rename . Batch deletion . Move in bulk . Every operation has to deal with the database . ...

  8. Single slide tab Components

    /* CSS Reset * */ body, ul, ol { margin: 0px; padding: 0px; } .flash { width: 300px; height: 420px; posi ...

  9. [ExtJS5 Learning notes ] Section 31 sencha extjs 5 Use cmd The generated project is deployed to tomcat The server

    This paper addresses :http://blog.csdn.net/sushengmiyan/article/details/42940883 The author of this article :sushengmiyan ------------------ ...

  10. mysql Function application

    mod The remainder is a function mod(numer1,number2), It returns the rest of the values Such as :mod(id,2) = 1 return id The number is odd id Email Suffix extraction emailorg=RIGHT(EMail, ...