Top "Utf-8" questions

UTF-8 is a character encoding that describes each Unicode code point using a byte sequence of one to four bytes.

Detect encoding and make everything UTF-8

I'm reading out lots of texts from various RSS feeds and inserting them into my database. Of course, there are …

php encoding utf-8 character-encoding
How do I check if a string is unicode or ascii?

What do I have to do in Python to figure out which encoding a string has?

python unicode encoding utf-8
Do I really need to encode '&' as '&'?

I'm using an '&' symbol with HTML5 and UTF-8 in my site's <title>. Google shows the …

validation html utf-8 character-encoding
How can I output a UTF-8 CSV in PHP that Excel will read properly?

I've got this very simple thing that just outputs some stuff in CSV format, but it's got to be UTF-8. …

php csv utf-8 byte-order-mark
Write to UTF-8 file in Python

I'm really confused with the codecs.open function. When I do: file = codecs.open("temp", "w", "utf-8") file.write(codecs.…

python utf-8 character-encoding byte-order-mark
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 1

I'm having a few issues trying to encode a string to UTF-8. I've tried numerous things, including using string.encode(…

python unicode utf-8
What is Unicode, UTF-8, UTF-16?

What's the basis for Unicode and why the need for UTF-8 or UTF-16? I have researched this on Google and …

unicode encoding utf-8 utf-16
Changing default encoding of Python?

I have many "can't encode" and "can't decode" problems with Python when I run my applications from the console. But …

python encoding utf-8 console
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 2: ordinal not in range(128)

I am attempting to work with a very large dataset that has some non-standard characters in it. I need to …

python django utf-8
Converting UTF-8 to ISO-8859-1 in Java - how to keep it as single byte

I am trying to convert a string encoded in java in UTF-8 to ISO-8859-1. Say for example, in the …

java utf-8 iso-8859-1