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

Flutter http response.body bad utf8 encoding

I'm starting to learn Flutter and I'm doing it by making my own manga reading app, in which I scrape all the data from the website I use the most.My problem is that only one of the mangas I read I...

View Article


CSV with semicolon separator and special characters such as é [closed]

I need to save a UTF8-encoded CSV from Excel, using ; (semicolon) as a separator. I can do this manually or programmatically using ADODB.Stream.The CSV includes some special characters, such as é.I'd...

View Article


Git failed to encode from UTF-8 to UTF-16LE-BOM

I have a lot of legacy Windows Resource Files (*.rc) in my repository. Initially they had UTF-8, ASCII, UTF-16 or other encoding. Also there were no .gitattributes in my repo, so git wasn't able to...

View Article

Can and/or should I declare meta charset utf8mb4

I'm planning on using utf8mb4 in my database.Now as I've learned I should always use UTF-8 in my <meta charset, but do I always do, so when I'm using utf8mb4 in my database?

View Article

Determine NLS_LANG on linux

How do I determine the NLS_LANG setting for my Oracle Client on linux?I haven't set the NLS_LANG explicitly.Is it necessary to set and export the variable NLS_LANG=AMERICAN_AMERICA.AL32UTF8 for...

View Article


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 0:...

I am using FastText.load_fasttext_format()to load fastText Official Japanese trained model (300 dim) in Google Colab.Here is my code.model_path =...

View Article

Convert UTF-8 to ANSI in C++

I can't find an answer to this question anywhere. How can I convert a string from UTF-8 to ANSI (extended ASCII) in C++?

View Article

Trying to use Selenium, but I get this error: "UnicodeDecodeError: 'utf-8'...

So I'm new to Selenium and I was just trying to run a simple test to see if it worked. After installing all the necessary packages (and dealing with some other errors), this message appeared.My...

View Article


load data stopped prematurely

I uploaded a file with 4 million rows to a table.The table is a database of vehicle license plates along with all the characteristics of that vehicle (color, tire size, engine capacity, and more).LOAD...

View Article


how to get generate utf-8 encoding from unicode codepoints in Private Use...

How can I generate the hex codes of a utf-8 encoding from unicode codepoints in Private Use Area (PUA) planes?In other planes, such as BMP, this can be done easily with chr():for...

View Article

Image may be NSFW.
Clik here to view.

File was loaded in the wrong encoding:'UTF-8' in IntelliJ IDEA

Before asking the question, I searched for a similar question on StackOverflow:file was loaded in the wrong encoding: 'UTF-8' in android studioBut it did not give an explicit answer there.My issue is...

View Article

Meta charset doesn't consistently respect French accents

Environment: html website (no cms), local repo managed with visual studio, connected to an AzureDevOps staging environment. Meta charset defined as "utf-8".Issue: If I paste French copy into a page,...

View Article

Ansible/jinja2: issue reading a utf-16-le file and decoding into a usable string

I have a playbook that reads a few files, some of which are formatted in utf-16-le rather than utf-8.When reading them I am getting a bunch of useless garbage and I seem to struggle with...

View Article


Incorrect string value: '\xF0\x9F\x8E\xB6\xF0\x9F...' MySQL

I am trying to store a tweet in my MYSQL table. The tweet is:quiero que me escuches, no te burles no te rias, anoche tuve un sueño que te fuiste de mi vida 🎶🎶The final two characters are both 'MULTIPLE...

View Article

DolphinDB: Data type-related error upon loading a CSV file into a partitioned...

Supposing there is a CSV file containing the following columns: “Code“, “Timestamp“, “Opening Price“, “Highest Price“, “Lowest Price“, “Closing Price“, “Trading Volume“, “Trading Amount“, and...

View Article


Printing UTF-8 strings with printf - wide vs. multibyte string literals

In statements like these, where both are entered into the source code with the same encoding (UTF-8) and the locale is set up properly, is there any practical difference between...

View Article

Properly print utf8 characters in windows console

This is the way I try to do it:#include <stdio.h>#include <windows.h>using namespace std;int main() { SetConsoleOutputCP(CP_UTF8); //german chars won't appear char const* text =...

View Article


How do I print UTF-8 from c++ console application on Windows [duplicate]

For a C++ console application compiled with Visual Studio 2008 on English Windows (XP,Vista or 7). Is it possible to print out to the console and correctly display UTF-8 encoded Japanese using cout or...

View Article

Why is a line read from a file not == to its hardcoded string despite being...

I'm reading lines from a file and trying to match them with regex, but it's failing despite the regex matcher looking right. When comparing the line to what it should be as a string declaration, python...

View Article

Minizip - Using fopen with UTF-8 filenames

I am in the same situation as fopen with unicode filename, where I want to use a library that uses fopen. The library in question is minizip, and I need it to work with UTF-8 encoding, on windows, UNIX...

View Article
Browsing all 1174 articles
Browse latest View live


Latest Images

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