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.

How do I correct the character encoding of a file?

I have an ANSI encoded text file that should not have been encoded as ANSI as there were accented characters …

encoding utf-8 character-encoding text-files codepages
u'\ufeff' in Python string

I get an error with the following patter: UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 155: ordinal not …

python unicode utf-8
Using Javascript's atob to decode base64 doesn't properly decode utf-8 strings

I'm using the Javascript window.atob() function to decode a base64-encoded string (specifically the base64-encoded content from the …

javascript encoding utf-8
Force encode from US-ASCII to UTF-8 (iconv)

I'm trying to transcode a bunch of files from US-ASCII to UTF-8. For that, I'm using iconv: iconv -f US-ASCII …

utf-8 character-encoding iconv
Spring MVC UTF-8 Encoding

At the moment I'm trying to get started with Spring MVC. While trying things out I ran into an encoding …

java spring-mvc utf-8 character-encoding
UTF-8: General? Bin? Unicode?

I'm trying to figure out what collation I should be using for various types of data. 100% of the content I …

mysql utf-8 collation
UTF-8 all the way through

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this …

php mysql linux apache utf-8
Javascript: Unicode string to hex

I'm trying to convert a unicode string to a hexadecimal representation in javascript. This is what I have: function convertFromHex(…

javascript unicode utf-8 hex
Why declare unicode by string in python?

I'm still learning python and I have a doubt: In python 2.6.x I usually declare encoding in the file header …

python encoding utf-8
How to write file in UTF-8 format?

I have bunch of files that are not in UTF-8 encoding and I'm converting a site to UTF-8 encoding. I'm …

php encoding utf-8 iconv mbstring