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

How to perform validation on the coding that does not support data beyond BMP...

My database is utf8 and does not support inserting data beyond BMP character encoding such as emoticons. But I don't want to set the database to utf8mb4. How to perform validation on the backend that...

View Article


Storing UTF-8 string in a UnicodeString

In Delphi 2007 you can store a UTF-8 string in a WideString and then pass that onto a Win32 function, e.g.var UnicodeStr: WideString; UTF8Str: WideString;begin UnicodeStr:='some unicode text';...

View Article


System.getProperty("special.path") returns wrong charset characters when...

On Windows 10, I set the default character to UTF-8 from Control Pane > Clock And Region > Region > Administrative > Change System locale , check Beta: Use Unicode UTF-8 for worldwide...

View Article

How to overload functions string.byte and string.char to support Unicode UTF-8?

I have custom functions utf8Char (decimal) and utf8Byte(char).How can I overload the functions string.char(...) and string.byte(s, i, j) in Lua?Here is an example function what I mean:local...

View Article

System.getProperty("non-english.path") returns wrong charset characters when...

On Windows 10, I set the default character to UTF-8 from Control Pane > Clock And Region > Region > Administrative > Change System locale , check Beta: Use Unicode UTF-8 for worldwide...

View Article


Python DictWriter writing UTF-8 encoded CSV files

I have a list of dictionaries containing unicode strings.csv.DictWriter can write a list of dictionaries into a CSV file.I want the CSV file to be encoded in UTF8.The csv module cannot handle...

View Article

Read with Java a file that contains text encoded as UTF-8 bytes with python

We need to process text at some files retrieved from a remote place. They are in UTF-8, but the main problem is that the files can have text in many languages, and they all have a single line in this...

View Article

Python json.dumps of a tuple with some UTF-8 characters, either fails or...

On my server, a Python script gets data from a database as a tuple. Then the script converts the tuple to a string (using json.dumps()) to be passed to the JavaScript script in the user's browser.The...

View Article


Image may be NSFW.
Clik here to view.

Eclipse wrong Java properties UTF-8 encoding

I have a JavaEE project, in which I use message properties files. The encoding of those file is set to UTF-8. In the file I use the german umlauts like ä, ö, ü. The problem is, sometimes those...

View Article


Charset UTF-8 and php header() not working

I am having some problems with the charset on my website. I can't get the UTF-8 charset to work and I get � instead of Å. Yes, I have searched around the web for answers and I've already used the...

View Article

Why is the /utf-8 flag in MSVC not allowing my program to display Unicode...

I recently discovered that on Windows 10/11 there is a beta testing option under region settings (system locale) to "Use Unicode UTF-8 for worldwide language support". When this is enabled, all the...

View Article

Some kanji characters cannot be displayed when using TCPDF

I am using TCPDF latest version (6.7.5) to export PDF documents. In the document there are some Japanese kanji characters that cannot be displayed.I have tried using fonts like cid0jp, cid0cs, cid0cs,...

View Article

How to dynamically convert a string into (and revert from) UTF8 special font...

How to dynamically convert a string into (and revert from) UTF8 special font characters "on-the-fly" using PHP functions?E.g.,<a href="https://en.wikipedia.org/wiki/CAPTCHA" rel="noopener noreferrer...

View Article


How to show with france language in searching

I have problem France language in searching in php . My project work fine in English, but when I search in France language, it always shows Message: non-utf8 string: é. Any one have solution with this...

View Article

Using PHP, how do I decode an email's body with non-ASCII characters to plain...

I'm trying to extract some content of some encoded emails with PHP but I can't.With this:$body = imap_body($imap_o, $email_n);I get:Pour = le r=E9cup=E9rer, il suffit de le t=E9l=E9charger, de le...

View Article


Convert ANSI txt file into UTF8 (Visual FoxPro)

Good dayI need help on converting a ANSI TXT file into UTF8 txt file.using Foxpro as programming language. or Xbasethe thing is that i am creating and writing on the txt file using Foxpro, but i need...

View Article

How to display unicode characters in NetBeans 21

I'm trying to use unicode character with netbeans but, when i run the project it only show me '?'. But if I use Intellij all runs perfectly. I do some research but I didn't find any solutions.I also...

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

mysqldump exporting data in a bad character set

Yesterday for the first time I exported my Mysql database and I found some very strange characters in the dump such as:INSERT INTO `piwik_archive_blob_2013_01` VALUES...

View Article

Encoding servlets with UTF-8 on WildFly

I used to run my JavaEE applications on GlassFish server, and there was no problem with the encoding type (UTF-8) since I added the following property in JVM Settings of the server:file.encoding =...

View Article
Browsing all 1053 articles
Browse latest View live


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