Most voted "utf-8" questions
UTF-8 is a form of encoding Unicode text, such as UTF-16 and UTF-32, but compatible (to some extent) with ASCII.
Learn more…131 questions
Sort by count of
-
2
votes1
answer646
viewsAndroid, PHP e Httpurlconnection - Send a message to PHP with UTF-8
Gentlemen, good morning/afternoon/evening! I’m having trouble accentuating words. The back-end of my system works in PHP chatting with an Android app. When I send the App message to the PHP server…
-
2
votes1
answer1009
viewsBulk encoding of files on linux
Hello, I’m needing to do the encoding conversion of files to utf-8 since the application will migrate from server. In this application I have files with several encodings actually, some in utf-8,…
-
2
votes1
answer250
viewsHow to convert this character to Postgresql?
I am using Delphixe and Postgresql, it happens that I need to insert some characters in the database that are not accepted in LATIN1. My base is UTF-8, but as the system has been transported since…
-
2
votes3
answers781
viewsProblem reading UTF-8 files in PHP and right in the browser
I need to save a file .txt in UTF-8 in PHP. Saving the file is very simple, however, when opening the file directly in the browser (example www.site.com/file.txt) the browser cannot recognize the…
-
2
votes0
answers94
viewsHow to remove BOM (Byte-Order-Mark) from multiple UTF-8 files?
I have several files in UTF-8 with BOM(Byte-Order-Mark) and I want to remove several at once. The need is that I have an Android project created in Eclipse and need to perform a migration to Android…
-
1
votes1
answer1406
viewsSublime opens file with EUC-JP encoding
When saving files with special characters in Sublime, with UTF-8. Ex: Reading Tip: From Heart to Heart It reopens with EUC-JP encoding: Reading Tip: From Cora 巽 達 o to Cora 巽 達 o What can it be? I…
-
1
votes1
answer74
viewsHow to turn a char array into UTF-8?
For example, I have a char cadeia[300];. I put characters in it, now I want to turn it into UTF-8.
-
1
votes0
answers38
viewsCharacter Encoding Problem UTF-8 / ISO-8859-1
I developed a website and when I use: header("Content-Type: text/html; charset=utf-8", true); PHP characters work perfectly, but HTML characters don’t, you get question marks. But when I use the…
-
1
votes0
answers103
viewsI cannot modify the coding of my charts in Google Chart
I’m trying to change the encoding of my chart that I made using Google Charts with data coming from a json file. I’ve changed the contentType of $.ajax() but nothing happened. The chart is displayed…
-
1
votes1
answer6989
viewsmb_convert_encoding vs utf8_encode()
I did an update on php on the server and identified that they were not being coded in the standard utf-8, the first thing I checked was the connection class I use, which in this case is adodb. In my…
-
1
votes1
answer107
viewsHow to fix the "charset" of an XML document?
I have that code $.ajax({ url: "https://crossorigin.me/http://www.acidigital.com/rss/rss_santo.php", crossDomain: true, contentType: "application/xml; charset:utf-8", type: "GET", dataType: "xml",…
-
1
votes1
answer28
viewsDoes Mysql Arabic return?
I have the following problem: In my PHP code I’m making a select in a table containing information in Arabic اختبار. However in PHP it is returning ?????. I’m using Php 5.2.10.…
-
1
votes1
answer3202
viewsProblems with accentuation - Python
Hi, I’m having stress problems in Python. In the code I put this: # -- coding: UTF-8 -- But the accents are not recognized in the cmd. Follow print for better understanding. From now on, thank you!…
-
1
votes1
answer1439
viewsPDO DBLIB AND UTF-8 ENCODING
I am in a project using UBUNTU-SERVER 64bits as WEBSERVER. In the project I chose the Microsoft Sql Server 2012 database which I have a short-term license to use. With a lot of effort I got the…
-
1
votes1
answer1004
viewshtml contains invalid utf-8 Character(s) MPDF 6.0
I have a text in blob in the database with the accentuation and such.. when I run it through mpdf IF is not placed utf-8_encode in the read variable returns me this error. I asked the question…
-
1
votes2
answers530
viewsAtom not saved in correct encoding
When saving a file by Atom, it always records the accents in UTF-8. Even though the file being identified as ISO-8859-1 (there at the bottom). So I did the following test at the terminal: Before…
-
1
votes0
answers345
viewsGson returning characters with invalid accent
I’m getting information using Gson in an archive PHP. When this information is received, the words containing accents are not coded. I have read: Android JSON Charset UTF-8 problems Converting…
-
1
votes1
answer28
viewsGtkliststore, invalid string type
The code is giving invalid format string error when passing the Gtkcomboboxtext for a Gtkliststore. Error: (System:18726): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()…
-
1
votes1
answer257
viewsRun shell_exec with UTF-8 in PHP
I am developing a system in PHP language and use the command shell_exec, but when I return some message with accentuation, it does not show the character. Example: Commando:…
-
1
votes1
answer4117
viewsConvert ISO-8859-1 string to UTF-8 in java
My goal is to create a converter ISO-8859-1 for UTF-8. I already have this code: import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException;…
-
1
votes2
answers94
viewsPHP site does not read special characters
The Site they sent me (I am an intern) is in trouble because it is not reading the special characters. I’ve noticed the famous charset UTF-8, but when I went to look at the databank, the collation…
-
1
votes1
answer216
viewsDoubt Encoding Utf8 Swift 3
I’m having a lot of problems with encoding my app. I have an online radio in the United States and I’m trying an app for it. I get the music from Lastfm. let queryURL: String if useLastFM { queryURL…
-
1
votes1
answer4040
viewsHow to show accented characters in Visual Studio 2017 using C++?
Good afternoon, I asked this question a while ago, but it was bad so I deleted it and I’m redoing it in more detail. My problem is this: When I accentuate in Visual Studio it returns strange…
-
1
votes1
answer559
viewsQstring accents in Qt 5.9 results in bizarre characters
Hi, good afternoon, I have a question I can’t fix at all the code is as follows:.... QTextStream stream( &file ); stream.setCodec("ISO 8859-1"); stream << "<p align=center><font…
-
1
votes1
answer61
viewsProblem with Utf8 encoding in Laravel
Guys I’m facing a problem with UTF8 coding, I don’t know what happens. When I print the text through the controller it is correct this way http://prntscr.com/ofcemt. But when I move the text to the…
-
1
votes1
answer158
viewsDifferent coding problem when recording data via PHP project or direct from Mysql
Friends, all right? I’m learning about PHP and when testing connections with Mysql I noticed a curious problem: If I am using phpMyAdmin and through it insert records, with accentuation, in my table…
-
1
votes1
answer39
viewsProblems with SQL x PHP enconding
I have the following problem: My files are coming out with accentuation problems, my tables use utf-8 as encondig, html files are marked utf-8 and even so accents do not work: <html>…
-
1
votes1
answer53
viewsUTF-8 formatting does not work when compiling code with Maven in Intellij
Good afternoon, you guys, Next, I have a Maven project in Intellij configured as follows: In the pom I have these configs:…
-
1
votes2
answers174
viewsDatabase does not recognize text with special characters even in UTF-8
I’ve made a lot of changes to the code and I’ve researched several sites and nothing has solved my problem! HTML code: <div class="w3-container w3-padding-32" id="about"> <h3…
-
1
votes0
answers82
viewsTransform UTF-8 to Unicode in Echolink
In the Echolink Server configuration file /etc/svxlink/svxlink.d/ModuleEchoLink.conf we can insert the location of the radio station in the LOCATION variable. As the name of my city (Petrópolis) has…
-
1
votes1
answer37
viewsMysql - exchange contents from ISO-8859-1 charset column to UTF-8
It is possible to swap the content charset of specific columns? I have a database with the following architecture: :: Idcontent (int autoincrement) :: Title (vchar) :: Summary (vchar) :: Content…
-
1
votes2
answers112
viewsAccented character problem (ADODB + Mysql + PHP)
Hello guys :D I’m going through a problem developing a project where I can’t put accented characters. I am using to make the connection to the Mysql database, Adodb in version 5.20.14. I have a main…
-
1
votes1
answer39
viewsProblem with coding in phpmyadmin on remote server
The problem is this. I am developing a site locally in PHP with access to database and I am facing coding problems, but this problem only happens in hosting, works normally on the local server.…
-
0
votes2
answers20486
viewsHow to change the encoding of multiple files from ISO-8859-1 to UTF-8?
I have a project (in java) with more than 100 files, some of them are in ISO others in UTF8. How to change the encoding of all ISO files to UTF-8 without losing the special characters ?…
-
0
votes1
answer83
viewsMysql encoding
I have the data in the database, in the charset utf-8, and I want to export the listing in . csv, but when I give a select it returns the data so for example "Administraã§ã de Imã³veis e Locaã§Ã".…
-
0
votes1
answer3139
viewsutf8 fix text as remove strange characters
Good afternoon as I use utf8 on the html page to remove characters like Refeiã§What should be Meal? Thank you!
-
0
votes0
answers135
viewsJava charset - How to read correctly from System.in?
I am creating an application to exchange messages between computers using Sockets, through cmd or terminal (I want it to run on linux and windows, console application). But I’m having trouble…
-
0
votes1
answer1443
viewsError: Jsonexception: End of input at Character 0, when sending Android information to a PHP Webservice
I’m sending information from Android to a PHP Webservice via lib Volley. Everything works perfectly, except with special characters. Map<String, String> params = new HashMap<String,…
-
0
votes0
answers70
viewsProblem collation on Localhost
To a 1 behind I made a bank with colação latin1_swedish_ci and charset latin1, html has become charset UTF-8 in the index that globes all pages inside html, And php became UTF-8 with the codes per…
-
0
votes2
answers1096
viewsUTF8 on Mysql PHP connection
I have a PHP PDO connection with two databases, however, I’m having problems with the special characters of both. How to solve? $host = "localhost"; $user = "user"; $password = ""; $database1 =…
-
0
votes0
answers96
viewsFile encoding error
Hello, I have a file encoding problem with my program that I made in C. It is writing in a format full of special characters which before was not writing this way. The Program is a Numerical Turing…
-
0
votes0
answers50
viewsPHP does not display accept UTF-8 character input (accented characters) in interactive mode (REPL)
I’m trying to make use of the command line to make a small change to the server, namely I’m using PHP in the command line in interactive mode, but I noticed that PHP is not accepting accented…
-
0
votes3
answers1509
viewsHow do I resolve this conflict in php?
Guys I have the routine below that makes the listing of files from a directory: if (is_dir($dir)) { $dh = opendir($dir); while (($file = readdir($dh)) !== false) { if (!in_array($file, array(".",…
-
0
votes1
answer2482
viewsHow to fix charset="UTF-8" in application nodejs within the socket.io
I have a chat app and I’m working with nodejs and socket.io. But I’m having trouble with name coding. The following name: Guilherme Loução is coming as: Guilherme Louã§. I have already saved the…
-
0
votes1
answer27
viewsProblems with encoding on static page
I have an html file sent from a Node.js server that can be accessed here who is having trouble with accentuation. It was working normally, however, after a small update, it got this problem. When I…
-
0
votes1
answer50
viewsHow to solve wrong encoding in xml sheet export
I have a form that receives some of registration and are transmitted to another page via ajax that makes the entry in the database. The problem is that at the time of receiving, if I do not use the…
-
0
votes1
answer318
viewsI can’t change my column collate in mysql to utf8_general_ci
Good morning Personal. I have a problem with changing the collate of a column in my database. An example of how I am running: ALTER TABLE `minhaTabela` CHANGE COLUMN `nome` `nome` VARCHAR(50) NULL…
-
0
votes1
answer53
viewsGrab items from an array by converting to UTF8
Hello! My problem is this: I have a list of values in an external php file and when I use a include to call the values in my template the accented characters are replaced by queries. I wonder if…
-
0
votes1
answer1150
viewsHow to configure Portuguese in kivy?
My App has two files, *.py and *.Kv, but I’m having problems with accents in my GUI. I’ve tried to resolve in the . py with file #encoding: -*- utf-8 -*- But the problem remains, please help me.…
-
0
votes0
answers23
viewsPHP application windows server migration
Good afternoon guys. I am with an application on a server with encoding in ISO-8859-1 and I am migrating to another server with window. The application is working, except for errors with the special…