Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
54 views

I am using Micropython on the ESP32. I have the following string, which includes the unicode character \xb0. a = 'abc\xb0def' First, I will need to change the notation to the \U00XX form, second I ...
Sebastian's user avatar
  • 444
Advice
0 votes
2 replies
104 views

I have a list of two tables in R. Each data frame contains several character and numeric columns. One of the columns is a company name column (for example, Company_Name). The target database only ...
Ferxani's user avatar
3 votes
2 answers
217 views

According to the new source::encoding pragma's documentation, use source::encoding 'ascii' is automatically enabled within the lexical scope of a use v5.41.0 or higher. To me, this means that use v5....
ikegami's user avatar
  • 391k
0 votes
0 answers
44 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 ...
Ondřej Janča's user avatar
1 vote
1 answer
44 views

I'm testing django using file uploads. Was facing a strange issue, when despide which encoding I choose, I'm always getting same error message that pandas is trying to decode with UTF-8 pd.read_csv(...
Aidas's user avatar
  • 170
0 votes
0 answers
51 views

I have an application which keeps appending data for a wide range of sessionIDs and expiring them in a few hours, currently we use Redis List data structure and having the SessionID as the key. For ...
zhouton zhouton's user avatar
0 votes
1 answer
87 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é...
NeitoFR's user avatar
  • 825
0 votes
0 answers
47 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 ...
ArtS's user avatar
  • 2,022
-1 votes
1 answer
51 views

I want to pass a string to nodemailer so that it results in =C2=A0 i tried to pass in both 'Â ' (the literal chars), "\xC2\xA0", etc. But they always result in =C3=A9 A longer example in ...
gcb's user avatar
  • 14.5k
1 vote
2 answers
154 views

Let's say our binary tree (bt) looks like this: Node* root = new Node(); root->left = new Node("B"); root->right = new Node(); root->right->right = new Node("A");...
Arun Saini's user avatar
0 votes
0 answers
93 views

I am writing a Cobol program in Visual Studio Code using the STRING and UNSTRING statements but for some reason when trying to use string functions on email addresses the Cobol program will not ...
user31506222's user avatar
-5 votes
1 answer
122 views

I gave the following Swift-code to ChatGPT: let data = text.data(using: .utf8) It answered me: "This line takes your string and turns it into raw bytes (data) that can be stored, sent over the ...
mewi's user avatar
  • 791
0 votes
0 answers
42 views

I send SMTP mail using PHP but there is an issue with the encoding. $headers = "Content-type: text/html; charset=UTF-8\n"; Email message sent: Where there's a dream Email message received: ...
Jimmy Jhon's user avatar
1 vote
1 answer
41 views

If I have the ASN.1 schema as shown below and I want to encode message "...
Yash Bhutada's user avatar
0 votes
1 answer
228 views

I'm using pgloader to migrate data from SQL Server to PostgreSQL server, the database is huge and I can't export to CSVv due to special characters. So I migrate db to db directly, almost done but it ...
Dan Van's user avatar
  • 85
1 vote
1 answer
119 views

I created a console application in C#. The program refreshes host names in my database while reading data from an Excel sheet using ExcelDataReader. The Excel file is saved in .CSV format. One of the ...
NOBITA 2.0's user avatar
3 votes
1 answer
191 views

I have noticed recently (maybe a change in recent Delphi) that if I load an ASCII format txt file into a tstringlist, edit a line with file.lines[10]:='blah', and then save it again the file is now ...
Some1Else's user avatar
  • 849
0 votes
1 answer
87 views

I’m trying to understand ABI decoding of multicall RPC calls so I can create stubbed tests using WireMock for my Rust EVM application. The multicall function signature is: function aggregate(Call[] ...
Joel Earps's user avatar
1 vote
3 answers
308 views

I'm maintaining a program (a compiler for an obscure language) that takes input in the form of text files. Existing code reads these files and converts their various encodings into a sequence of ...
Draconis's user avatar
  • 3,547
1 vote
1 answer
83 views

I am using VS Code. I have a project where all the files are UTF-8. When I load the file in VS Code, it thinks it is ISO 8859-1 encoded. I can change the encoding using the option at the bottom to re-...
AgilePro's user avatar
  • 5,690
0 votes
0 answers
87 views

How do you set the encoding of a QTextStream to "EUC-JP" ? The setEncoding function uses this enum: class QStringConverter : public QStringConverterBase { public: #endif // Qt 6 compat for ...
Anon's user avatar
  • 2,532
0 votes
1 answer
107 views

I'm trying to learn how to use Power BI, and I thought it would be fun to test my skills by creating some statistics based on my chats with friends. For example, I want to identify the first message ...
BABELAERE Robin's user avatar
1 vote
0 answers
105 views

I've a legacy application which is loading csv files and load them to oracle DB. One line contains the non breaking character which is correctly read by the app (I can see the byte value -96 for the ...
SGiux's user avatar
  • 883
2 votes
1 answer
154 views

I have a pom file whose name looks similar to this. <name>Some Name 😊</name> But when I performed the maven build, I got this instead. Some Name ≡ƒÖé I set my project encoding to utf-8, ...
davidalayachew's user avatar
1 vote
0 answers
116 views

I'm using pino with pino-pretty in a Node.js + TypeScript project, and I'm logging strings with accented characters (like ç, ã, é, etc.). Example: logger.info("Olá, Lucas! Teste de acentuação: ç, ...
lucas santiago cody's user avatar
1 vote
1 answer
164 views

I'm new to using Python on z/OS; I am creating a program in a USS directory on our mainframe and using a Rocket Software 3270 emulator; I am trying to use square brackets in my code, but as soon as I ...
Nathanael Sutherland's user avatar
0 votes
0 answers
95 views

I'm trying to write a python script under z/OS, using IBM Open Enterprise SDK for Python 3.13. I wrote the code under TSO OMVS and I got the following error trying to execute the code: SyntaxError: ...
Fabiana Bordacchini's user avatar
0 votes
0 answers
42 views

I am working with RabbitMQ v3.12.0 which is running on Erlang v26.0.1. on a Windows 10 machine. The problem is that I am unable to successfully apply encrypted configuration entries. To simplify the ...
James Lerro's user avatar
1 vote
1 answer
64 views

I am using the foreign package to read in 8 SPSS files. When they are read in some are re-encoded with UTF-8 and some with CP1252. In my R script I want to compare an SPSS level with a piece of text. ...
Stephen Clark's user avatar
0 votes
0 answers
85 views

All 3 are working fine. I want to know which one is correct way ? what is the difference in below 3 different lines. <%@ taglib uri="/WEB-INF/tlds/security/esapi.tld" prefix="en"...
RBP's user avatar
  • 485
2 votes
1 answer
154 views

I am trying to load a German CSV file into R on Fedora Linux 42, but the region names containing special characters (like u-umlaut, o-umlaut, eszett) are not rendered correctly. Here's a simplified ...
Saïd Maanan's user avatar
0 votes
2 answers
219 views

I have a Java 17 application, on Windows OS, configured with Gradle, to unmarshall files into Java classes via .xsd scheme, which contains UTF-8 symbols, specifically, Russian symbols. It was unable ...
Roman Tataev's user avatar
1 vote
1 answer
121 views

I have a struct: type V struct { S int `asn1:"tag:1"` } Then I ASN.1 marshal this struct: val := V{S: 12} b, _ := asn1.Marshal(val) Using dumpasn1 I got correct ASN.1: 0 3: ...
Denis Prot's user avatar
1 vote
0 answers
92 views

When i open the menu of my web application, i use inspect > network tab and see that pdamnu.do file has charset encoding of ISO. Now in my pdamnu.jsp i have mentioned the encoding of utf-8 <%@ ...
Ashish's user avatar
  • 11
1 vote
1 answer
180 views

I'm upgrading my compiler from g++ 8.2.0 to 12.1.0. I have some legacy code using std::filesystem that starts failing with this upgrade. I isolated the problem in a MCVE below. The code is supposed to ...
jpo38's user avatar
  • 21.9k
0 votes
0 answers
40 views

In VS Code, my source code is in UTF-8 without BOM, when build the project, the OUTPUT window presents the comment with the code in mess. How could I specify the encoding for the OUTPUT window? I got ...
Administrator's user avatar
0 votes
1 answer
79 views

I'm using Beautiful Soup to scrape Reddit. After scraping, I get some amount of encoding in the final text after finding the paragraph tag in the HTMl code and taking it's text. # finds all paragraphs ...
Half-The-Pizza's user avatar
0 votes
1 answer
96 views

I'm facing a persistent issue when trying to import a .csv file into SQL Server using bcp. The operation always fails with the following error: SQLState = S1000, NativeError = 0 Error = [Microsoft][...
Wima's user avatar
  • 5
0 votes
0 answers
45 views

I'm running a python script that receives data over a TCP connection. This connection can send multiple messages that consists of multiple variables which have multiple data types. When a string is ...
Arn's user avatar
  • 1
1 vote
0 answers
113 views

I have a pull subscription to a pubsub topic. example of message I'm sending: { "event_id": "200595", "user_id": "15410", "session_id": &...
Stephen's user avatar
  • 333
0 votes
1 answer
114 views

I'm working with a few old DBF files that contain special characters from the Slovak, Czech, and German alphabets (e.g., š, č, ř, ä, ö, ü). Both Python libraries dbfread and dbf indicate that the ...
user30394093's user avatar
0 votes
0 answers
36 views

We are trying to decode some information on a gift card that is scanned via a mag stripe reader. When scanned the data on the mag stripe is %B957197678665105^?;957197678665105=? Printed on the card ...
Craig's user avatar
  • 36.9k
0 votes
1 answer
81 views

I have a unit test for a Base64 URL safe function that I want to make sure that it is properly handling three things: Replaces + with - Replaces / with _ Trims = at end I want my unit test to have a ...
Josh's user avatar
  • 8,551
0 votes
0 answers
131 views

I have a file called password.txt and I want to store some passwords in it, I use it in a file of functions but I don't know how to make it usable for more than one file, every one having his specific ...
oivil's user avatar
  • 1
0 votes
1 answer
68 views

I have the string "тест123" in Cyrillic and am executing a MySQL query with it inside a PHP script. However, the string in the query gets encoded and instead of "test123", it ...
lStoilov's user avatar
  • 1,351
0 votes
1 answer
101 views

I'm trying to write an arbitrary base N chunked encoder. This is different than a mathematical encoder where the entire buffer is converted to an integer and then that integer is converted into a ...
mpen's user avatar
  • 285k
0 votes
0 answers
37 views

When I run a standalone Javascript using nodejs in the Sublime Text Editor: console.log("Hellø World!"); The output is displayed in the Build Result pane: Hellø World! [Finished in 54ms] ...
MacFreek's user avatar
  • 3,568
0 votes
0 answers
95 views

I have an error asserting equality between two string due to non-ASCII characters. I am getting the table of contents (toc) of a PDF[1] with mymupdf.get_toc() function. For the unit testing, I have ...
zunbeltz's user avatar
  • 289
-1 votes
2 answers
102 views

I don't want to convert things like \n \r so I can't use unicode_escape directly. But my code is very slow now, is there any better way? def only_transform_backslash_u(content): ...
白鳥鵠's user avatar
0 votes
0 answers
46 views

I'm trying to code the following using pyasn1 From RFC7906 KeyPurpose ::= ENUMERATED { n-a (0), -- Not Applicable A (65), -- Operational B (66), -- Compatible Multiple Key ...
Andy Mc's user avatar

1
2 3 4 5
487