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

In jxbrowser7.22, there is still an error: Protocol message had invalid UTF-8

I saw on the official website that this problem had been solved in 7.12.2, but the 7.22 I used reported an error.Although an error is reported, the program can still run. EngineOptions...

View Article


Unable to export LC_ALL=C.UTF-8 on macOS?

When I execute locale -a on my Mac Book (macOS 14.4.1, Apple silicon), I can't find C.UTF-8 (though there are en_US.UTF-8, fr_FR.UTF-8, etc. And there are also C and POSIX, without specific encodings)....

View Article


How do I remove  from the beginning of a file?

I have a CSS file that looks fine when I open it using gedit, but when it's read by PHP (to merge all the CSS files into one), this CSS has the following characters prepended to it: PHP removes all...

View Article

How to Encode ascent character into UTF-8 without losing its representation?...

Method:public static void test() throws IOException { String input = "ABCÉÔpqr"; // charsetName = ISO-8859-1 String utf8String = new String(StandardCharsets.UTF_8.encode(input).array()); }Required...

View Article

Windows-1252 to UTF-8 encoding [closed]

I've copied certain files from a Windows machine to a Linux machine. All the files encoded with Windows-1252 need to be converted toUTF-8. The files which are already in UTF-8 should not be changed.I'm...

View Article


Can a multibyte chacteracter be used as a regex pattern delimiter in a PCRE...

For a long time, any time I've needed to use a regular expression, I've standardized on using the copyright symbol © as the delimiter because it was a symbol that wasn't on the keyboard that I was sure...

View Article

How to transfer and show Emoji in between Android or iOS and Web (HTML) [closed]

I'm facing problem to show Smiley on html content where text is generated from Android or iPhone keyboard and stored in MySQL database. Right now I'm storing smiley as unicode text in database so it is...

View Article

Problems with special characters using lv_textarea_add_text(ta, "á")

The function lv_textarea_add_text(ta, "á") doesn't display special characters in the text area. What could be the issue?I tried using the function lv_textarea_add_text(ta, "á") to add the text "á" to...

View Article


Image may be NSFW.
Clik here to view.

Flutter special character rendering problem with GoogleFonts

When I use GoogleFonts some special characters not shown correctly.I tried to use it with default font family but it doesn't work either.Text( data["pronunciation"], style: TextStyle( color:...

View Article


WinSCP crashes with symbol like é, è, à when I run a batch [duplicate]

I have created a batch file to remove thousands of files on my server. I use WinSCP to connect to my server.The batch works fine, but when the filename has a UTF-8 symbol like é, è, à, the batch...

View Article

How to Encode ascent character into UTF-8 without losing its representation?

Method:public static void test() throws IOException { String input = "ABCÉÔpqr"; // charsetName = ISO-8859-1 String utf8String = new String(StandardCharsets.UTF_8.encode(input).array()); }Required...

View Article

Content-Disposition utf8 encoding (golang)

It is implementing a file download APIThe problem is that the Korean file name is brokentext: "AWS자산.svg"my code ↓import ("github.com/gin-gonic/gin""net/url") func FileDownload(c *gin.Context) {...

View Article

PHP Encoding issue from email body

This is word: hаckеrLooks normal? But when use strpos to find the word in string it does not work.For example the line is "I am a hаckеr who has аccess to your operating system."strpos ($text,...

View Article


Writing file in UTF-8 format in array

I am trying to extract lines of data's in a file text and save those lines in utf-8 format. But it gives me an error because of the array type. It only accepts string data type.Sub...

View Article

Extracting data from a UTF-8 file format and importing it into a utf-8 file...

I would like to extract a Japanese letters data from a UTF-8 file format and copying it into another utf-8 file format.Expected output: カカカカカカカカカ字字字字字字字Actual output: ・カ・カ・カ・カ・カ・'蟄怜ュ怜ュ怜ュ怜ュ怜ュ怜 (garbage...

View Article


How to set Visual Studio to create new files as UTF-8 as default?

Is there any way to configure Visual Studio 2022 so that any kind of new file created from within the IDE will be UTF-8 encoded as default?I personally find very annoying to stumble upon the same...

View Article

tcpdf for Arabic display the characters as question marks '?????? ???'

I wanna create an Arabic pdf as same as the file witch I had in ms Execl format. While creating the pdf using tcpdf in php the Arabic charactors are displyaed as '????' marks.The characters are copied...

View Article


Converting German characters (like ä, ß etc) from Mac Roman to UTF (or similar)?

I have a CSV file which I can read in and at all works fine except for the specific German (and possibly other) characters. I've used chardet to determine that the encoding is Mac Romanimport...

View Article

GCC: making UTF-8 the execution character set

I wrote this test program in a Latin-1 encoded file...#include <cstring>#include <iostream>using namespace std;const char str[] = "ÅÄÖ";int main() { cout << sizeof(str) <<...

View Article

Why do some non-ASCII code points don't require special fonts but others do?

I've never needed to use fonts to display characters belonging to popular Indian languages: Hindi/Bengali/Kannada/etc, but have to for others?Why is that? How can I determine that these specific...

View Article
Browsing all 1035 articles
Browse latest View live


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