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.

In OS X Lion, LANG is not set to UTF-8, how to fix it?

I try to setup postgress in OS X Lion, and find that is not correctly setup the LOCALE environment var. …

macos encoding utf-8 terminal
Best way to encode text data for XML

I was looking for a generic method in .Net to encode a string for use in an Xml element or …

.net xml encoding .net-2.0
"TypeError: (Integer) is not JSON serializable" when serializing JSON in Python?

I am trying to send a simple dictionary to a json file from python, but I keep getting the "TypeError: 1425 …

python json encoding typeerror
java.sql.SQLException: Incorrect string value: '\xF0\x9F\x91\xBD\xF0\x9F...'

I have the following string value: "walmart obama 👽💔" I am using MySQL and Java. I am getting the following exception: `…

java mysql encoding character-encoding sqlexception
How do I enable FFMPEG logging and where can I find the FFMPEG log file?

I want to be able to log FFMPEG processes because I am trying to work out how long a minute …

file logging encoding ffmpeg capacity-planning
How to convert hex to ASCII characters in the Linux shell?

Lets say that I have a string 5a. This is the hex representation of the ASCII letter Z. I need …

linux bash shell encoding scripting
UTF-8 output from PowerShell

I'm trying to use Process.Start with redirected I/O to call PowerShell.exe with a string, and to get …

powershell encoding utf-8 character-encoding io-redirection
Unicode via CSS :before

I am using Font Awesome on my webpage and I want to display an icon inside the :before pseudo element. …

html css unicode encoding icons
A url resource that is a dot (%2E)

I have a resource that is a . This means my url looks like this: http://myapp/index/. And i need …

url encoding freemarker restlet
How to detect the character encoding of a text file?

I try to detect which character encoding is used in my file. I try with this code to get the …

c# encoding character-encoding byte-order-mark