Top "Python-unicode" questions

Python distinguishes between byte strings and unicode strings.

How to parse a byte string in Python 3?

Basically, I have two bytestrings in a single line like this: b'\xe0\xa6\xb8\xe0\xa6\x96 - \xe0\…

python python-3.5 string-parsing python-unicode
Load Python 2 .npy file in Python 3

I'm trying to load /usr/share/matplotlib/sample_data/goog.npy: datafile = matplotlib.cbook.get_sample_data('goog.npy', asfileobj=…

python python-3.x numpy python-unicode
Removing all Emojis from Text

This question has been asked here Python : How to remove all emojis Without a solution, I have as step towards …

python python-3.x emoji python-unicode unicode-string
How to fix an encoding migrating Python subprocess to unicode_literals?

We're preparing to move to Python 3.4 and added unicode_literals. Our code relies extensively on piping to/from external utilities …

python subprocess python-unicode
Unescaping HTML with special characters in Python 2.7.3 / Raspberry Pi

I'm stuck here trying to unescape HTML special characters. The problematic text is Rudimental & Emeli Sandé which should …

python-2.7 character-encoding html-parsing raspberry-pi python-unicode
Python-3 and \x Vs \u Vs \U in string encoding and why

Why do we have different byte oriented string representations in Python 3? Won't it be enough to have single representation instead …

python python-3.x unicode python-unicode unicode-string
unicode datas of a dataframe to strings

I have some troubles with a dataframe obtained from reading a xls file. Every data on such dataframe has the …

python python-2.7 pandas python-unicode unicode-string