Questions tagged [decoding]

Decoding is the reverse of encoding.

Decoding is the reverse of , which is the process of transforming information from one format into another understandable by a receiver. In communication theory and coding theory, decoding is the process of translating received messages into codewords of a given code. Like encoding, decoding applies to information of various forms:

1741 questions
0
votes
1 answer

Python Encoding Error when writing to file

I want write some strings to file which is not in English, they are in Azeri language. Even if I do utf-8 encoding I get following error: UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-12: ordinal not in range(128) my…
0
votes
0 answers

Decode HTML string in c#

I have an scraped string with this format: Un peque\u00F1o jard\u00EDn And I need this: Un pequeño jardín The web page have a meta tag for chaset=uft-8: I try to resolve…
Duefectu
  • 1,563
  • 4
  • 18
  • 37
0
votes
1 answer

null or Hex serial port encoding

I'm writing a C# application that will receive serial data from 3 different COM ports configure with 8-bit UART with no parity. The other devices will be sending and receiving binary encoded HEX ex. AF01h = 10101010 00000001 two characters for each…
R Mason
  • 1
  • 2
0
votes
1 answer

PHP decode a base64 encoded string which is url safe

I need to decode a base64 encoded string. I need to do it with PHP. The base64_decode() does not do the job. I tried with: base64_decode(strtr($data, '-_,', '+/=')); ...it only works sometimes. The same happens…
Álvaro N. Franz
  • 1,188
  • 3
  • 17
  • 39
0
votes
1 answer

Caesar Cipher decoded wrongly in Java

I have implemented the Caesar Cipher algorithm in Java 8. The Problem Heute ist Freitag. results into this encoded text using 22 as a key: ^{ {6 6{ w}D Decoding this again gets me this output: Heu e is Frei ag. The Code and description It…
ShadowDragon
  • 2,238
  • 5
  • 20
  • 32
0
votes
1 answer

how to create an Encoder and Decoder for the Alphabetic substitution cipher (groovy)?

Basically i have to design and implement this on groovy , this is to encode and decode a specific paragraph ?
ben
  • 1
  • 1
0
votes
1 answer

Protocol checksum reverse engineering

I'm trying to reverse engineer a protocol's checksum. It seems to be a 4-bit nibble-based protocol. The following is a binary representation of a packet in the protocol: 1000 0001 1000 0001 0000 0001 1111 0010 1010 : 1001 1000 0001 1000 0001 0000…
nohupper
  • 55
  • 5
0
votes
1 answer

What is this character: ? Where can I see the similar characters?

I am not sure whether everyone can see the above character, but I can see it. I got it when I input "booknote" in Chinese on my iPhone. To my surprise, this character seems "platform-insensative", it can be seen on my phones, chrome on laptop, and…
shenkwen
  • 3,536
  • 5
  • 45
  • 85
0
votes
2 answers

How to decode a very large image on android?

I am decoding an image(ARGB) that is 8000x8000 pixels, so in uncompressed form it reaches (2 + 2 + 2 + 2) * (8000 * 8000) = 488 MB and crashes the android. I don't want to sample the image because I am converting the bitmap to byte array and sending…
SidZi
  • 1
  • 4
0
votes
1 answer

Universal Python HTTP response decoder

I may be poor at googling, but so far I have come up dry. Is there no such thing as a universal decoder for HTTP responses, where you give it the body and the headers, and it returns the decoded data? For example: response = requests.get("...") body…
theooos
  • 1
  • 3
0
votes
0 answers

It's not need encoding/decoding to communicate system using other UNICODE encoding?

I just wonder. When two system use other Unicode encoding (one-UTF-8, other-UTF32), it doesn't need to encode or decode? I think it's necessary. But, we call just UNICODE in visual studio. Then, If it's necessary (other application should encode or…
JaeHyeok Kim
  • 103
  • 5
0
votes
0 answers

How to have the partial Lowercase Decoding the URL?

I have encoded link. After the decoding String decodedURL = URLDecoder.decode(encodedLink, "UTF-8"); String delims = "[u, &]"; String[] splittedURL = decodedURL.split(delims); String resultURL = splittedURL[1].substring(1); I get next…
0
votes
1 answer

real time decoding of SHVC bit streams

Does anyone know an open source decoder that can perform real time SHVC bit stream decoding?. The openHEVC states that it has the capability to decode HEVC scalable bit streams, but I was not able to decode a SHVC bit stream generated by SHM 7.0…
userDtrm
  • 533
  • 2
  • 7
  • 20
0
votes
2 answers

DirectShow universal media decoder

I am new to DirectShow API. I want to decode a media file and get uncompressed RGB video frames using DirectShow. I noted that all such operations should be completed through a GraphBuilder. Also, every the processing block is called a filter and…
mbaros
  • 825
  • 8
  • 31
0
votes
1 answer

Decoding Json by Link

The desired json contain turkish characters. I am using python 3.5 as programming lang. To read json from url I used two different methods and I get different errors. Firstly I used reading as url method and following piece of code used: import…
fallen
  • 31
  • 11