Skip to main content
Filter by
Sorted by
Tagged with
-5 votes
0 answers
40 views

I am new to programming, and I am trying to start a project on cleaning my CSV file into different formats that I want. How should I go about doing that, and what resources can I use to do it?
1 vote
2 answers
1k views

Even though i add a comment to change the encoding to utf-8 i get an error. I can not print ü ğ ş ç İ Ş Ç Ğ Ö Ü # -*- coding: utf-8 -*- print("ğ") The error i get SyntaxError: (unicode ...
4 votes
4 answers
67k views

Is it related or not I don't know but when I install firebase and open VS Code again, this problem appeared in package.json and package-lock.json when click to 'Open anyway' button Text-Editor this ...
2 votes
2 answers
611 views

I am trying to convert windows-1252 text to utf8 but python print command is stucked when the text includes this character \x9d. The text is not encoding correctly. I know that. So, I am trying to ...
15 votes
4 answers
55k views

Should I encode quotes (such as " and ' -> &rdquo; and &rsquo;) in my HTML body (e.g. convert <p>Matt's Stuff</p> to <p>Matt&rsquo;s Stuff</p>)? I was under the ...
2 votes
2 answers
14k views

I'm trying to pickle a pandas dataframe to my local directory so I can work on it in another jupyter notebook. The write appears to go successful at first but when trying to read it in a new jupyter ...
52 votes
15 answers
72k views

It seems to be really crazy, but I can't do anything with broken encoding in the console of my IntelliJ IDEA. Things I made to overcome this: Set -Dfile.encoding=UTF-8 and -Dfile.encoding=UTF-8 in ...
323 votes
19 answers
497k views

I received some text that is encoded, but I don't know what charset was used. Is there a way to determine the encoding of a text file using Python? How can I detect the encoding/codepage of a text ...
6 votes
1 answer
1k views

I have files often uploaded via browser and maybe considering using another method to make uploads faster. When a file is uploaded via browser, is there much overhead due to encoding? How much?
-2 votes
0 answers
71 views

WAF is showing some errors due to including some HTML tags in my payload responses (mostly field-like messages and user guides). Sometimes, I am also sending R programming language code to the server, ...
6 votes
3 answers
9k views

I have 30 JPEG images (.jpg) at a resolution of 480 x 640. Each image takes aboout 20KB (all of them takes about 600KB). I am using FFmpeg command to encode these images into a video in H264 format. ...
0 votes
0 answers
36 views

There is a powershell script file on windows minions which has some parameters set the same on all minions and some parameters set individually per-minion. I want to create a state for modifying some ...
0 votes
1 answer
82 views

I’m creating Gmail drafts via the Gmail API from N8N. The draft works and is correctly attached to the threadId, but accented characters in the subject (like adhésion) are displayed incorrectly (adhé...
0 votes
3 answers
17k views

I want to send hex encoded data to another client via sockets in python. I managed to do everything some time ago in python 2. Now I want to port it to python 3. Data looks like this: """ 16 03 02 ""...
1 vote
3 answers
16k views

I want to convert a String to ByteArray in C# for Decrypt some data. When I get de String from the ByteArray created, it shows question marks (?). Example code: byte[] strTemp = Encoding....
516 votes
10 answers
332k views

I know what base64 encoding is and how to calculate base64 encoding in C#, however I have seen several times that when I convert a string into base64, there is an = at the end. A few questions came ...
-2 votes
2 answers
467 views

Recently I stumbled upon a URL for one online mock test. The URL had the following after the domain name /DescriptiveQuestions/F66471F5-B15F-4B1A-8434-FC3D93D92C2D As you can see the ending part ...
505 votes
9 answers
412k views

What's the basis for Unicode and why the need for UTF-8 or UTF-16? I have researched this on Google and searched here as well, but it's not clear to me. In VSS, when doing a file comparison, sometimes ...
59 votes
6 answers
91k views

i am converting a project from Ant to Maven and i'm having problems with a specific unit test which deals with UTF-8 characters. The problem is about the following String: String l_string = "ČäÁÓý\n€...
1 vote
2 answers
928 views

I have read Joel's article about encodings. As I understand in case of Unicode: Unicode is a character set, a mapping between an integer value and a character UTF-8 is an encoding which is used for ...
1 vote
2 answers
918 views

I'm building a react application and I use Node (with Express) as a proxy-server. I send data from react app to node-express, then in Node I use that data to form URI and to make requests to another ...
410 votes
22 answers
482k views

Out-File seems to force the BOM when using UTF-8: $MyFile = Get-Content $MyPath $MyFile | Out-File -Encoding "UTF8" $MyPath How can I write a file in UTF-8 with no BOM using PowerShell? ...
0 votes
0 answers
43 views

I work on my project on both Mac and Windows. Some editor headers were written in Visual Studio on Windows in Chinese, and were encoded in GBK(default I guess). However they don't show properly on mac ...
1 vote
2 answers
4k views

I've implemented a service that listens to commands issued through ADB. An example of a command sent through ADB could look like this: adb shell am startservice -a com.testandroid.SEND_SMS -e number ...
377 votes
13 answers
279k views

When piping the output of a Python program, the Python interpreter gets confused about encoding and sets it to None. This means a program like this: # -*- coding: utf-8 -*- print u"åäö" will work ...

1
2 3 4 5
487