Questions tagged [Character encoding] (583)

1
answer

Why you need a BOM?

As I understand it there is no difference between UTF 8 and UTF 8 with BOM, except the difference in handling PHP. Why, then, should 2 such encodings? Why not do the same, for example but without BOM?
Dagmar asked April 19th 20 at 12:15
0
answer

How to change the encoding of Cyrillic characters in node.js?

The data come from the html form: <form enctype="multipart/form-data" method="post"> <input type="file" name="file"> <input type="text" name="firstName"> <input type="submit" value="Send"></p> as you can see, it sends a file and the field firstName. The name in Cyrillic. So come to the serv...
Taylor_Renn asked April 18th 20 at 13:01
1
answer

How to send a request containing Russian letters pymysql?

It is impossible to send a query in which there are Russian letters. If you run in PyCharm everything works if I try through the console it gives an error
dustin51 asked April 16th 20 at 10:39
1
answer

As in 1C to convert text to UTF-16LE UNIX?

The program Easy Ceiling is used to import and export file of the invoice(suspended ceilings), for example "factura.fact", it contains text data in UTF-16LE, and UNIX. here's a piece: false 0 1256 Pearl 305 320 0.08 0.08 0 0 China false 1 305 16777215 False As in 1C of Handbook of materials using a text variable(or other ...
Millie.Legros asked April 9th 20 at 10:19
0
answer

How to collect the packets for transmission on the network? How best to encode?

How to collect packages? Yes, he just learning, so here is the question for the Assembly of such a byte sausages, some ready-made module or is it better to write your flexible encoder? If there are options not to invent a Bicycle it would be nice used the struct module, but was wondering how to then on the server or client ...
0
answer

How to decode base64 + rsa including root ca in der format?

Read the Wiki, which shows what data and the encoded. My task is to Understand what formed the data FairPlayCertChain To do so, first you need to decode them. The data itself: spoilerMIICxDCCAi2gAwIBAgINMzOvBwQCrwACrwaabzanbgkqhkig9w0baqufadb7mqswcqyd VQQGEwJVUzETMBEGA1UEChMKQXBwbGUgsw5jljemmcqga1uecxmdqxbwbgugq2vydglm aW...
mavis asked April 8th 20 at 18:07
1
answer

Why Base64 is decoded to only half?

Actually what a circus?) Part rasterbars, and part remained gibberish. what is it? If set to AUTO DETECT the picture is even more fun:
nettie33 asked April 8th 20 at 17:56
7
answers

Why the same characters have different md5?

Hello, did not work to compare strings (one from the base, the other with forms) $var1 = "string"; $var2 = "string"; if (strcasecmp($var1, $var2) == 0) { After the crazies, I decided to check their md5 and it turned out the lines it's different. For example, the Cyrillic letter "a" from database "a" from the html form have ...
Meta_Jacobson24 asked April 8th 20 at 10:40
1
answer

Can I save a csv file encoded in Windows-1251 with Russian and Armenian letters?

Now the csv file in UTF-8. It contains symbols of both Russian and Armenian(and possibly Latin?) I need to save it in coding Windows-1251. If you save the file to Windows-1251, and then back to download it, instead of the Armenian characters are getting question marks, other symbols in order. So what to do? Can the Armenian...
Verdie54 asked April 8th 20 at 10:27
1
answer

How to change the encoding in windows console?

The file should be displayed in utf-8 and console - 866, in the end, the browser displays the diamonds. After the command chcp 65001, nothing has changed. Since the console uses code page 866, then if the registry to change the REG_SZ-parameter "866" under the key [HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage] with ...
ilene_Cole41 asked April 8th 20 at 09:52