Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Browsing all 1200 articles
Browse latest View live

Python 3 Pexpect - spawn issue: UnicodeDecodeError: 'utf-8' codec can't...

I'm having an issue when using spawnu (UTF-8) from the Pexpect module for Python 3 during a SSH session when the remote machine responds with the following characters in the output:ÿÿÿÿHere's the error...

View Article


UTF-8 Decode Error Reading CSV into Pandas Despite UTF-8 Encoding

I am trying to convert csv files into tsv files by doing the conversion in a pandas dataframe.for csv_file in os.listdir(input_dir): if csv_file.endswith('.csv'): print("working on " + csv_file) # Full...

View Article


Error executing statement: Conversion from collation utf8mb4_0900_ai_ci into...

recently on my live website when I copy and paste some text from a PDF file into a tinymce editor v7 and I insert the text into a mysql table through PHP I get this error:Error executing statement:...

View Article

Converting a string of ASCII and UTF8 characters to a binary sequence using...

I have a question about using the xxd utility in Linux: I need to represent a string written in Russian Cyrillic charactersC бодрымутром! 😜 as a sequence of zeros and ones in one line without a space...

View Article

Why Azure DevOps shows encoding change from utf-8 to Windows-1252?

We've noticed that for some users Azure DevOps in Pull Requests shows that encoding changes "utf-8 -> Windows-1252" (tooltip File encoding changed from utf-8 to Windows-1252). It happens only for...

View Article


Java21: Illegal Rectangle is drawn while painting date time

enter image description hereAbove image shows a rectangle which is in between time-value and am, In Java21.0.3, DateTime string has a character NNBSP which is converting to rectangle while painting...

View Article

Encoding issues with Windows and R [closed]

i'm getting crazy. i have a script which worked properly for months. the script creates 3 CSV files with write.csv2()default settings in R is to use UTF-8 encoding when saving files.when i open these 3...

View Article

Listings in Latex with UTF-8 (or at least german umlauts)

Trying to include a source-file into my latex document using the listings package, i got problems with german umlauts inside of the comments in the...

View Article


Image may be NSFW.
Clik here to view.

I can't configure the correct display of Cyrillic in the browser with the...

**Here is the mustach file that the controller switches to upon request /addexcel:**<html lang="en"><head><meta...

View Article


Is it advisable to use both Short UTF-8 and long UTF-8 when serving spring web

So the case is: a document with HTML code is using only a long UTF-8 encoding . the classpath (/stream), with the resource /{get}?index.html, is not utilised as welcome page, instead, the resource file...

View Article

Should it be preferred to set UTF-8 charset for HTML in the HTTP headers, in...

There are (at least) two well-defined ways to set UTF-8 content encoding for HTML documents served over HTTP.One is to declare it in the HTTP headers with Content-Type: text/html; charset=utf-8.The...

View Article

How to use UTF-8 in C code?

My setup: gcc-4.9.2, UTF-8 environment.The following C-program works in ASCII, but does not in UTF-8.Create input file:echo -n 'приветмир'> /tmp/входThis is test.c:#include <stdio.h>#include...

View Article

UnicodeDecodeError: 'UTF-8' codec can't decode byte 0xff in position 0:...

There is a backend on django and a postgres DB that stores data about the item, including pictures. And there is a problem with getting a picture from the database, i've looked at enough solutions, but...

View Article


Why is it necessary to mark continuation bytes in UTF-8?

I've recently been reading up on the UTF-8 variable-width encoding, and I found it strange that UTF-8 specifies the first two bits of every continuation byte to be 10. Range |...

View Article

PHP code to convert HTML entities to UTF8 text [closed]

i need a php code to transform a string with emojis (HTML Entities coded) to text (visible emojis).I.e.:ConvertHello &#128591; world &#128578;!toHello 🙏 world 🙂!Can you help me, please?i tried...

View Article


Keyboard input to UTF-32 problem. i want it to be U+1D41A but instead it...

im trying to make a keyboard injection converter thing, that takes an input and outputs it into a certain unicode. This is my first time jumping into unicodes so i don't really know anything about...

View Article

Remove four byte UTF-8 characters in classic ASP/VBScript (MySQL related)

I've spent about 18 hours of trying different things and searching around now, finally I give up and have to ask you guys.Backstory: I am finally migrating a old MS Access database to MySQL (version...

View Article


Drupal export data from table to excel

I am using the following 2 functions to export data from a table called eco_customers to excel filebut I have a problem with Arabic characters, they show corrupt, how can I modify the encoding to...

View Article

FPDF utf-8 encoding (HOW-TO)

Does anybody know how to set the encoding in FPDF package to UTF-8? Or at least to ISO-8859-7 (Greek) that supports Greek characters?Basically I want to create a PDF file containing Greek...

View Article

ASCII file encoding with 16-bit bytes

According to the C standard, a byte can have more than 8 bits. How is an ASCII (or UTF-8) file encoded on systems with, e.g., 16-bit bytes since ASCII characters take up 8 (technically 7) bits? Does...

View Article
Browsing all 1200 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>