Questions tagged [character-encoding]
Character encoding refers to the way characters are represented as a series of bytes. Character encoding for the Web is defined in the Encoding Standard.
character-encoding
15,287
questions
-2
votes
0
answers
32
views
How to make dumpdata create a JSON file with the correct encoding? [closed]
In Django I am dumping my sqlite3 database to a JSON file. The database contains special characters which when I dump, are not displayed correctly:
"França" instead of "França"
&...
0
votes
0
answers
19
views
Disable comment function on Word Press when in Cyrillic
Lately I'm facing some spam messages on one of my Word Press blogs.
The comments are coming from different IPs all over the world, but what they have in common, they are all in Cyrillic.
Now, I was ...
0
votes
0
answers
18
views
Sendcloud API-Laravel: malformed utf-8 characters, possibly incorrectly encoded
I am trying to create parcel on Sendcloud and I am getting error for street name with special characters: Moalleöandß xejuana n°41 2°4°.
Malformed utf-8 characters, possibly incorrectly encoded ...
0
votes
0
answers
7
views
Encoding problem when redirecting standard output
A Python program writes ascii characters, Hungarian accented characters and EM DASH characters to the standard output simply using the print() function. If I redirect the output:
python test.py > ...
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 ...
1
vote
1
answer
30
views
Problem with PSQL encoding of french in Windows cmd prompt
I've been struggling with PSQL and encoding in Windows cmd prompt for a while now and although I managed to make it work about 4 times with 4 different databases, it seems that every time the problem ...
1
vote
0
answers
88
views
+50
How to correctly encode special characters when programmatically creating ACF Gutenberg-Blocks in Wordpress?
I am building an importer for a wordpress project and have to map blocks to other block types. Therefore, I have an abstract base Block-Class that looks like this:
abstract class Block
{
abstract ...
0
votes
0
answers
37
views
Why do i get random characters as a response to my curl get call in php?
I am trying to get a list of deliveries using this GET call:
https://datalink.hconnect.digital/api-products/basic#get-https-//api.hconnect.digital/ecs/v2/deliveries
Here is a picture if the link is ...
0
votes
1
answer
68
views
why System.out.charset() not equals to stdout.encoding
My operating system is Windows 10, and the system's default code page is GBK. The JDK version is 21, and the Gradle version is 8.5. I use chcp 1252 to change the console encoding. In order to check ...
0
votes
0
answers
27
views
Issue with Text Display Using json_object and json_arrayagg in Oracle
I'm working with Oracle database where the 'NLS_CHARACTERSET' is set to 'AR8ISO8859P6', and I'm using the 'nvarchar2' datatype for my columns. When I select Kurdish text from my table, it displays ...
0
votes
1
answer
49
views
Is there an Unreal C++ function to parse a byte array to an FString with specific encoding?
I am working on an Unreal Engine 5 project where I need to parse binary files. These files contain text encoded in Shift-JIS, as opposed to UTF-8 encoding. My goal is to convert a byte array from this ...
0
votes
0
answers
26
views
ords 24.1 error/session crash when getting Hebrew chars as input
I am trying to use ords24.1 for plsql cartridge app. I can view data in Hebrew chars, but trying to input Hebrew characters, the HTTP session is broken with http 504 and I get this error on the ...
0
votes
1
answer
36
views
Decoding multibyte non-Unicode characters through codecvt fails
I have experimented with std::codecvt on MSVC and encountered an issue with multibyte character encodings ‒ it cannot convert back from valid multibyte sequences, even when those can be produced when ...
0
votes
0
answers
82
views
Visual Studio cannot output Unicode Characters [duplicate]
I've made a program for school; that goes through a plain text file and makes a concordance for each word. It will take each word, remove non-alphabetical characters from the front and back, and put ...
1
vote
1
answer
46
views
Unable to Encode Base62 by Hand
I'm trying to Base62 encode the string Hi by hand. My process is as follows:
Convert each character of "cat" into its respective ascii value:
H -> 99 -> 01001000
i -> 105 -> ...