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 do I write out a text file in C# with a code page other than UTF-8?

I want to write out a text file. Instead of the default UTF-8, I want to write it encoded as …

c# encoding utf-8 iso-8859-1
Setting the character encoding in form submit for Internet Explorer

I have a page that contains a form. This page is served with content type text/html;charset=utf-8. I …

html internet-explorer forms encoding iso-8859-1
Android. WebView and loadData

It's possible to use following method for content's setting of a web-view loadData(String data, String mimeType, String encoding) How …

android encoding webview
How to store custom objects in NSUserDefaults

Alright, so I've been doing some poking around, and I realize my problem, but I don't know how to fix …

ios objective-c iphone encoding nsuserdefaults
What charset does Microsoft Excel use when saving files?

I have a Java app which reads CSV files which have been created in Excel (e.g. 2007). Does anyone know …

excel encoding character-encoding
Base64 Encoding Image

I am building an open search add-on for Firefox/IE and the image needs to be Base64 Encoded so how …

php encoding base64 opensearch
PHP output showing little black diamonds with a question mark

I'm writing a php program that pulls from a database source. Some of the varchars have quotes that are displaying …

php encoding character-encoding
fileReader.readAsBinaryString to upload files

Trying to use fileReader.readAsBinaryString to upload a PNG file to the server via AJAX, stripped down code (fileObject is …

javascript encoding upload filereader
ruby 1.9: invalid byte sequence in UTF-8

I'm writing a crawler in Ruby (1.9) that consumes lots of HTML from a lot of random sites. When trying to …

ruby encoding utf-8
Set encoding and fileencoding to utf-8 in Vim

What is the difference between these two commands? set encoding=utf-8 set fileencoding=utf-8 Do I need to set both …

vim encoding