Top "Decode" questions

To convert some encoded data (e.g. bytes, electrical signals) to some representation ready for further processing (e.g. string, object, picture)

Why does json_decode return null for empty array?

Why would this echo "NULL"? In my would it would be decoded to an empty array. Is it something obvious …

php json decode
Decode SNMP PDUs - Where to Start?

Hello my first ever question on here, in need of bit of guidance. I'm working on a packet sniffer mainly …

decode snmp asn.1 ber
'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
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
decodeURI decodes space as + symbol

I have created a Google Custom Search. The logic is when a user search, the page will display result and …

javascript decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 55: character maps to <undefined>

I am new to Python and am hoping that someone could please explain to me what the error message means. …

python syntax-error decode spss
opencv read error:[h264 @ 0x8f915e0] error while decoding MB 53 20, bytestream -7

My configuration: ubuntu 16.04 opencv 3.3.1 gcc version 5.4.0 20160609 ffmpeg version 3.4.2-1~16.04.york0 and I built opencv with: cmake -D CMAKE_BUILD_TYPE=…

opencv ffmpeg decode ip-camera
How to decode Reddit's RSS using Golang?

I've been playing about with Go's XML package and cannot see what is wrong with the following code. package main …

xml go rss decode reddit
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