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.

How can I transform string to UTF-8 in C#?

I have a string that I receive from a third party app and I would like to display it correctly …

c# string encoding utf-8 character-encoding
How to get ASCII value of string in C#

I want to get the ASCII value of characters in a string in C#. If my string has the value "9…

c# encoding ascii
What is the best collation to use for MySQL with PHP?

I'm wondering if there is a "best" choice for collation in MySQL for a general website where you aren't 100% sure …

php mysql encoding collation
UnicodeEncodeError: 'charmap' codec can't encode - character maps to <undefined>, print function

I am writing a Python (Python 3.3) program to send some data to a webpage using POST method. Mostly for debugging …

python encoding decode encode
What is base 64 encoding used for?

I've heard people talking about "base 64 encoding" here and there. What is it used for?

encoding base64 encode
Get encoding of a file in Windows

This isn't really a programming question, is there a command line or Windows tool (Windows 7) to get the current encoding …

windows encoding
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
How do I decode a base64 encoded string?

I am trying to "decode" this following Base64 string: OBFZDTcPCxlCKhdXCQ0kMQhKPh9uIgYIAQxALBtZAwUeOzcdcUEeW0dMO1kbPElWCV1ISFFKZ0kdWFlLAURPZhEFQVseXVtPOUUICVhMAzcfZ14AVEdIVVgfAUIBWVpOUlAeaUVMXFlKIy9rGUN0VF08Oz1…

c# encoding base64
How many bytes does one Unicode character take?

I am a bit confused about encodings. As far as I know old ASCII characters took one byte per character. …

string language-agnostic unicode encoding