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.

Reading InputStream as UTF-8

I'm trying to read from a text/plain file over the internet, line-by-line. The code I have right now is: …

java utf-8 inputstream
JSON character encoding - is UTF-8 well-supported by browsers or should I use numeric escape sequences?

I am writing a webservice that uses json to represent its resources, and I am a bit stuck thinking about …

web-services json unicode utf-8
How do I remove  from the beginning of a file?

I have a CSS file that looks fine when I open it using gedit, but when it's read by PHP (…

php utf-8 character-encoding byte-order-mark mojibake
How to send UTF-8 email?

When I send out the email, the email does not show characters other than english. It does show like below: 余生ä»ä» …

php email utf-8
Why should we NOT use sys.setdefaultencoding("utf-8") in a py script?

I have seen few py scripts which use this at the top of the script. In what cases one should …

python encoding utf-8 python-2.x sys
"unmappable character for encoding" warning in Java

I'm currently working on a Java project that is emitting the following warning when I compile: /src/com/myco/apps/…

java encoding utf-8 ascii
How to Use UTF-8 Collation in SQL Server database?

I've migrated a database from mysql to SQL Server (politics), original mysql database using UTF8. Now I read https://dba.…

sql-server utf-8
What is the difference between utf8mb4 and utf8 charsets in MySQL?

What is the difference between utf8mb4 and utf8 charsets in MySQL? I already know about ASCII, UTF-8, UTF-16 and …

mysql encoding utf-8 character-encoding utf8mb4
FPDF utf-8 encoding (HOW-TO)

Does anybody know how to set the encoding in FPDF package to utf-8? Or at least to ISO-8859-7 (Greek) …

unicode utf-8 character-encoding fpdf
Set Encoding of File to UTF8 With BOM in Sublime Text 3

When I open a file in Sublime Text 3, at the bottom I have an option to set the Character Encoding …

encoding utf-8 sublimetext3 sublimetext2 byte-order-mark