About 969,000 results
Open links in new tab
  1. How to decode a Unicode character in a string - Stack Overflow

    Mar 19, 2017 · It is a way to represent Unicode characters as escape sequence similar how string represents New Line by \n and Return by \r. I don't think you have to decode. string …

  2. How to fix: "UnicodeDecodeError: 'ascii' codec can't decode byte"

    UnicodeDecodeError: 'ascii' codec can't decode byte generally happens when you try to convert a Python 2.x str that contains non-ASCII to a Unicode string without specifying the encoding of …

  3. How do I decode a string with escaped unicode? - Stack Overflow

    In my case, I am encoding all international (non-ascii) characters being sent from the server as escaped unicode, then using your function in the browser to decode the characters to the …

  4. Python3 UnicodeDecodeError with readlines () method

    Jan 27, 2016 · It's not so much that readlines itself is responsible for the problem; rather, it's causing the read+decode to occur, and the decode is failing. It's an easy fix though; the default …

  5. UnicodeDecodeError when reading CSV file in Pandas

    read_csv takes an encoding option to deal with files in different formats. I mostly use read_csv('file', encoding = "ISO-8859-1"), or alternatively encoding = "utf-8" for reading, and …

  6. php - How to decode Unicode escape sequences like "\u00ed" to …

    May 29, 2010 · Is there a function in PHP that can decode Unicode escape sequences like "\\u00ed" to "í" and all other similar occurrences? I found similar question here but is doesn't …

  7. How to decode a unicode string Python - Stack Overflow

    Jan 29, 2016 · That string already is decoded (it's a Unicode object). You need to encode it if you want to store it in a file (or send it to a dumb terminal etc.). Generally, when working with …

  8. Python: UnicodeDecodeError: 'utf8' codec can't decode byte

    Aug 12, 2012 · Python: UnicodeDecodeError: 'utf8' codec can't decode byte Asked 13 years, 2 months ago Modified 6 years, 5 months ago Viewed 77k times

  9. How to decode unicode HTML by JavaScript? - Stack Overflow

    May 29, 2017 · 14 How to use JavaScript to decode from: \u003cb\u003estring\u003c/b\u003e to <b>string</b> (I searched in internet, there are some site with same question, such as: …

  10. UnicodeDecodeError, invalid continuation byte - Stack Overflow

    Dec 11, 2016 · So ISO-8859-1 Unicode points 0–255 are identical to the Latin-1 values, so converting to this encoding simply requires converting code points to byte values; if a code …