Top "Encoding" questions

Encoding is a set of predefined rules to reversibly transform a piece of information in a certain representation into a completely different representation.

Why does a base64 encoded string have an = sign at the end

I know what base64 encoding is and how to calculate base64 encoding in C#, however I have seen several times …

encoding base64
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
Java FileReader encoding issue

I tried to use java.io.FileReader to read some text files and convert them into a string, but I …

java file unicode encoding
Base64 encoding in SQL Server 2005 T-SQL

I'd like to write a T-SQL query where I encode a string as a Base64 string. Surprisingly, I can't find …

sql-server-2005 tsql encoding base64
How to set standard encoding in Visual Studio

I am searching for a way to setup Visual Studio so it always saves my files in UTF-8. I have …

visual-studio visual-studio-2008 encoding character-encoding
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
Attempt to set a non-property-list object as an NSUserDefaults

I thought I knew what was causing this error, but I can't seem to figure out what I did wrong. …

ios objective-c encoding nsuserdefaults
Byte and char conversion in Java

If I convert a character to byte and then back to char, that character mysteriously disappears and becomes something else. …

java encoding unicode utf-16
Error: "Input is not proper UTF-8, indicate encoding !" using PHP's simplexml_load_string

I'm getting the error: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6E 0x2C 0x20 …

php xml encoding character-encoding simplexml