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.

Converting string to byte array in C#

I'm converting something from VB into C#. Having a problem with the syntax of this statement: if ((searchResult.Properties["user"].…

c# string vb.net encoding byte
Java URL encoding of query string parameters

Say I have a URL http://example.com/query?q= and I have a query entered by the user such …

java http url encoding urlencode
Working with UTF-8 encoding in Python source

Consider: $ cat bla.py u = unicode('d…') s = u.encode('utf-8') print s $ python bla.py File "bla.…

python encoding utf-8 character-encoding
Excel to CSV with UTF8 encoding

I have an Excel file that has some Spanish characters (tildes, etc.) that I need to convert to a CSV …

excel encoding csv utf-8
How to convert Strings to and from UTF8 byte arrays in Java

In Java, I have a String and I want to encode it as a byte array (in UTF8, or some …

java string encoding character-encoding
How to do Base64 encoding in node.js?

Does node.js have built-in base64 encoding yet? The reason why I ask this is that final() from crypto can …

node.js encoding base64
How can I convert a hex string to a byte array?

Can we convert a hex string to a byte array using a built-in function in C# or do I have …

c# encoding hex
How to find encoding of a file via script on Linux?

I need to find the encoding of all files that are placed in a directory. Is there a way to …

file shell unix encoding
When are you supposed to use escape instead of encodeURI / encodeURIComponent?

When encoding a query string to be sent to a web server - when do you use escape() and when …

javascript encoding query-string
HTML encoding issues - "Â" character showing up instead of " "

I've got a legacy app just starting to misbehave, for whatever reason I'm not sure. It generates a bunch of …

html vb.net encoding utf-8 iso-8859-1