Skip to main content

Questions tagged [encoding]

Encoding is a set of predefined rules to reversibly transform a piece of information in a certain representation into a completely different representation. The other way round is called decoding. This tag is rather generic, but it is mainly used for binary encoding schemes such as base 64 and hexadecimal.

encoding
0 votes
0 answers
24 views

Cyrillic characters wont show up in console

So, only characters that I input shows perfectly fine, but the output characters (when im doing Console.WriteLine) change to '?' Output It is weird because before every cyrillic character was showing ...
Sarertt Pontampon's user avatar
0 votes
0 answers
17 views

UnicodeDecodeError with FastAPI when Handling Audio Files: How to Resolve?

I'm encountering a UnicodeDecodeError in my FastAPI application while processing audio files. The error traceback is as follows: Traceback (most recent call last): File "C:\Users\sanja\AppData\...
toon town's user avatar
-1 votes
0 answers
44 views

How can you change the color of a pixel on your live display using Python? [duplicate]

I'm currently deep into GPU coding and I'm facing a unique challenge. I need to find a way to dynamically alter the color of individual pixels directly on my display monitor using Python. This isn't ...
Zach McLeod's user avatar
0 votes
1 answer
50 views

Unicode strings in a purely python3 codebase - are these useless? [duplicate]

In the codebase that I'm working on, there seems to be remnants of python2 because a lot of the strings are prefixed with u. From researching, it looks like this denotes a unicode string, but in ...
NFeruch - FreePalestine's user avatar
-2 votes
0 answers
17 views

How much does the format of a NN input layer change performance?

Often there's multiple ways an input layer could be structured. For instance, you may be able to greatly reduce the number of neurons required by doing some simple compression, at the cost of having ...
Brendan Banfield's user avatar
-2 votes
1 answer
46 views

Coding and decoding byte array in string are not identical

I have to read a varbinary column from SQL Server, and send it to a json. I tried some test conversions byte[]/string and vice-versa, but I cannot understand what is wrong. For example: string s = ...
elle0087's user avatar
  • 874
1 vote
1 answer
59 views

is there a way to output and consume binary files on stdout/stdin of powershell?

I am expierencing an issue with a powershell script which doesn't work whereas dotnet application with the same commands works. I believe the problem is related to encoding, I think in powershell the ...
Lawrence Kok's user avatar
  • 1,588
2 votes
2 answers
55 views

How to correctly encode special characters in URL parameters with `requests.get()` in Python?

I want to grab some content from a website using requests.get() on jupyter notebook, with a Python version of 3.10. The website is a simple search engine with a search bar and some buttons. When I ...
Warren Chen's user avatar
-1 votes
0 answers
26 views

I'm having issues importing my csv file into postgresql . The file has already been converted into a UTF8 format but still shows error [closed]

ERROR: invalid byte sequence for encoding "UTF8": 0xf6 0x64 0x2c 0x32 CONTEXT: COPY NW Products, line 23 I tried importing the file so many times but still gave the same error, and i already ...
Peace Odum's user avatar
0 votes
0 answers
35 views

Parsing scan code event data received from a character device in Linux

I need some guidance regarding the parsing and de-serialization of binary data received from a character device in Linux. I'm working on writing a program in rust that monitors keyboard input used for ...
Zambieslar's user avatar
0 votes
1 answer
71 views

Detect mixed-up encoding in PHP and make everyting Windows 1252

I've got a CSV file with mixed up encoded strings: 1956;Mathé Altéry;Le Temps Perdu 1963;Alain Barrière;Elle était si jolie 2024;Gérard truc;Mon éden 2024;GÃ¥te;Ulveham 2023;GergÅ‘ Rácz;Zé Szabó...
Ken Addams's user avatar
-1 votes
0 answers
43 views

How to recover R script saved as 0kb with ISO 8859-1 encoding? [closed]

I was working on an older version of R. I closed R studio to update to the latest version & I saw that my R script was saved as 0kb. I checked that the default encoding used with the older version ...
Raveena's user avatar
0 votes
0 answers
22 views

SMPP protocol v3 data_encoding

I'm a developer of the SMS platform. In some moment I found that some clients send sms to my servers with incorrect encoding. Here example what I got a few days ago: Text of sms: [realme]579174 est ...
Dennis Galan's user avatar
1 vote
1 answer
65 views

CBZ image concatenation in GoLang

I am trying to take a .cbz / comic book file, read the images into a single byte array and return it as a single image to serve in a web application. For testing purposes a .cbz file is just a rar ...
Alexander Bruun's user avatar
0 votes
0 answers
21 views

Why am I receiving the error message "some character data was lost during transcoding of the lib21.accident and lib22.accident datasets?

I am conducting a project where I am working with data from the Fatal Analysis Reporting System (FARS) and I have been trying to create a new dataset, which is a subset of the original accident files ...
John Mathews's user avatar

15 30 50 per page
1
2 3 4 5
1626