Category "encoding"

Encoding HttpClient Genexus

I'm trying to do a POST with an endpoint. In Postman it is working fine. One of the fields in JSON needs to be send with line breaks. In genexus I'm adding the

C# Encode Bitmap to DDS (DXT1, DXT3, DXT5)

I have a simple Bitmap in my app. I need to save it as DDS (Direct Draw Surface) not like a simple image with .dds extension, but need to encode pixel data and

php stdin input return blank value with arabic chars

i'm makin my own php cli but i need to use arabic letters so fgets return blank value from command line input Knowing i'm using powershell to run commands funct

R import of stata file has problems with French accented characters

I have a large stata file that I think has some French accented characters that have been saved poorly. When I import the file with the encoding set to blank, i

Why is # not escaped?

Feeling a little dumb here. I have this string http://www.example.com/foo/bar#4.png?token=1441307151_4492f25946a2e8e1414a8bb53dab8a6ba1cf4615 Because the file

bson.errors.InvalidDocument: cannot encode object of object having list of Object

I have a class defined in below form class B(): xyz: int class C(): abc: int Class A(): bList: List[B] cList: List[C] iex : int MongoDb Save Operation

How do you print accented characters?

I want to write a program that takes text from a file and prints the selected lines. When printing a word containing an accented character like "ó", I ge

Is there any hardware decoding or encoding when reading video stream byte in pyav python?

I have a python scripts for reading video bytes using pyav package as below code. when I use this code I figured out that reading that video byte for a long str

Why I'm getting "UnicodeEncodeError: 'charmap' codec can't encode character '\u25b2' in position 84811: character maps to <undefined>" error?

I'm getting UnicodeEncodeError: 'charmap' codec can't encode character '\u200b' in position 756: character maps to error while running this code:: from bs4 imp

Tibetan characters in data.frames cannot be displayed in R console even after locale is set (Chinese is fine, Tibetan in matrices is fine)

In R, Tibetan characters do not display properly when they are located in data.frames: > Sys.setlocale("LC_CTYPE", "Tibetan") [1] "Tibetan_China.950" > da

How can I loop one frame with ffmpeg? All the other frames should point to the first with no changes, maybe like a recusion

I want to make a long video from a single image in ffmpeg. I need it to be fastly encodeable and at the end the video should have a small file size. Is it pos

Recursive data structure unmarshalling gives error "cannot parse invalid wire-format data" in Go Lang Protobuf

OS and protobuf version go1.18.1 linux/amd64, github.com/golang/protobuf v1.5.2 Introduction I am trying to use recursive proto definitions. .proto file message

Write data in unknown encoding

Is it possible write data to a file in an unknown encoding? I cannot decode email headers, for example message-id, because if I use handler ignore or a replace

Send grid api sends the attachment with different encoding

I have an issue where we are using ASP.NET framework and SendGrid api/sdk to send the email to users. We have the attachment name in Spanish character as shown

Want some guide about how to use nvjpegEncodeYUV()

I am trying to implement some jpeg encoding cuda code based one a sample code below: https://docs.nvidia.com/cuda/nvjpeg/index.html#nvjpeg-encode-examples I pos

Encoding each value in a pandas cell

I have a dataset Inp1 Inp2 Inp3 Output A,B,C AI,UI,JI Apple,Bat,Dog Animals L,M,N LI,DO,LI Lawn, Moon, Noon Noun X,Y

How fix error encoding BSON to MongoDB Compass?

I installed MongoDB Compass, and I get error message “An error occurred while loading navigation: Invalid UTF-8 string in BSON document”. I can&rsqu

Downloading Kaggle Dataset with Chinese folder names converts names to something useless

What the folder names look like AFTER downloading: What the folder names look like on Kaggle: Downloading Kaggle Dataset with Chinese folder names converts na

Minifying javascript via unicode

on dwitter.net i often see dweets that are encoded interestingly to minify the JS to character count. for example https://www.dwitter.net/d/22372 (or https://ww

How to remove BOM from an encoded base64 UTF string?

I have a file encoded in base64 using openssl base64 -in en -out en1 in a command line in MacOS and I am reading this file using the following code: string file