Top "Encode" questions

to convert some data (e.g. string, picture) to some representation (e.g. bytes, electrical signals)

Convert an image into WMF with .NET?

There are plenty of examples of converting a wmf into a bitmap like: Reliable .wmf/wmf to Pixel based image …

.net image bitmap encode wmf
Is it necessary to "escape" character "<" and ">" for javascript string?

Sometimes, server side will generate strings to be embedded in inline JavaScript code. For example, if "UserName" should be generated …

javascript html xss encode
Java and RFC 3986 URI encoding

is there a class to encode a generic String following the RFC 3986 specification? That is: "hello world" => "hello%20world" …

java uri encode rfc3986
'ascii' codec can't encode character at position * ord not in range(128)

There are a few threads on stackoverflow, but i couldn't find a valid solution to the problem as a whole. …

python unicode decode encode
Ruby equivalent to JavaScript’s encodeURIComponent that produces identical output?

Hi is there an equivalent ruby method to JavaScript encodeURIComponent method? i am using the URI.unescape(str) but it …

javascript ruby escaping encode
Why doesn't decodeURI("a+b") == "a b"?

I'm trying to encode URLs in Ruby and decode them with Javascript. However, the plus character is giving me weird …

javascript ruby urlencode decode encode
Error when create AAC encoder with MediaCodec

The question is simple, But I have no any clue to solve it: I write a single line code to …

android encode aac android-mediacodec
Error writing a file with file.write in Python. UnicodeEncodeError

I have never dealt with encoding and decoding strings, so I am quite the newbie on this front. I am …

python-2.7 unicode decode encode fwrite
WireShark - Can I decode UTF-8 data in packets?

In Wireshark, how can I see non-ASCI characters in packets? some of my network data is in UTF-8 encoding and …

unicode utf-8 decode encode wireshark
How to convert all characters to their html entity equivalent using PHP

I want to convert this [email protected] to &#104;&#101;&#108;&#108;&#111;&#064;&#100;&#111;&#109;&#097;&#105;&…

php string utf-8 encode html-entities