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.

Using PowerShell to write a file in UTF-8 without the BOM

Out-File seems to force the BOM when using UTF-8: $MyFile = Get-Content $MyPath $MyFile | Out-File -Encoding "UTF8" $MyPath How can I …

encoding powershell utf-8 byte-order-mark
How to percent-encode URL parameters in Python?

If I do url = "http://example.com?p=" + urllib.quote(query) It doesn't encode / to %2F (breaks OAuth normalization) It …

python url encoding urllib urlencode
How to determine the encoding of text?

I received some text that is encoded, but I don't know what charset was used. Is there a way to …

python encoding text-files
How to Find the Default Charset/Encoding in Java?

The obvious answer is to use Charset.defaultCharset() but we recently found out that this might not be the right …

java encoding character-encoding
Url decode UTF-8 in Python

I have spent plenty of time as far as I am newbie in Python. How could I ever decode such …

python encoding utf-8 urldecode
What encoding/code page is cmd.exe using?

When I open cmd.exe in Windows, what encoding is it using? How can I check which encoding it is …

windows command-line encoding
How to configure encoding in Maven?

When I run maven install on my multi module maven project I always get the following output: [WARNING] File encoding …

java maven encoding maven-2 maven-3
Convert utf8-characters to iso-88591 and back in PHP

Some of my script are using different encoding, and when I try to combine them, this has becom an issue. …

php encoding utf-8 iso-8859-1
Windows-1252 to UTF-8 encoding

I've copied certain files from a Windows machine to a Linux machine. So all the Windows encoded (windows-1252) files need …

encoding utf-8 character-encoding windows-1252
How to convert a string with Unicode encoding to a string of letters

I have a string with escaped Unicode characters, \uXXXX, and I want to convert it to regular Unicode letters. For …

java unicode encoding