Most voted "character-encoding" questions
Character encoding or Character encoding refers to the way characters are represented as a series of bytes.
Learn more…232 questions
Sort by count of
-
2
votes3
answers561
viewsProblem with accentuation in email form
I have an email form in PHP that does not send correctly accented words, appear several questions in words with accent, cedilla etc. I tried several things but none worked. Below is the script I’m…
-
2
votes1
answer820
viewsEncoding problem in Git
I did clone a large project but many of the files were in unstage and Deleted. I realized it was the file name encoding so I set it in utf-8 like this: git config gui.encoding utf-8 After that the…
-
1
votes1
answer79
viewsProblem with Portuguese in ADT
I’m working on a Android App, and a friend of mine sent me the app that he worked, but had a problem, all characters in our language like "ç" became things like c'@%, evidencing problem in…
-
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
answer62
viewsDecode characters from email
I’m trying to import data from an email and I can get the data, but some characters come in an encoding that I didn’t find how to convert, for example. Goioer=C3=AA Paran=C3=A1 I tried utf8_decode,…
-
1
votes1
answer768
viewsCoding in Eclipse EE
I have the following problem: I have a web service in Java using Jetty, the same works normally if I request other applications to the server, but my unit tests are returning the encoding all wrong.…
-
1
votes0
answers159
viewsImport XML into Mysql
I have two xml files. When I care one of them comes like this pública and the other one comes like this pública I opened the files in Notepad++ and in the Format tab the two files are with UTF-8…
-
1
votes0
answers401
viewsThe MSDAORA Provider is returning "?" instead of special characters
I’m going through a problem trying to configure my computer to run the application the same way it runs on the server, the characters that are returned from the Oracle database, appear with a ? in…
-
1
votes1
answer387
viewsHow do I convert these strings to PHP?
I have the following instructions .... echo $parcelamento . "<br>"; echo utf8_encode($parcelamento) . "<br>"; echo utf8_decode($parcelamento) . "<br>"; ... that return respectively…
-
1
votes0
answers88
viewsClarification on jQuery ajax content-type
What would be the difference/utility to use: beforeSend: function(jqXHR) { jqXHR.overrideMimeType('text/plain; charset=iso-8859-1') } and contentType: 'text/plain; charset=iso-8859-1', contenttype…
-
1
votes1
answer179
viewsCharacter SET and Character Encoding - What are they, what are they for?
What are they, what are they for? Character SET Character Encoding
character-encodingasked 8 years, 7 months ago user45722 -
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
votes1
answer42
viewsEncoding problem in the Composer
Currently my Poser file has started to show some errors in the messages that seem encoding errors, has anyone gone through it and know how to fix it? I did a little research to see if I could find…
-
1
votes3
answers5839
viewsNamespace declaration statement has to be the very first statement or after any declare call in the script
I wonder what caused this problem that I solved "kind of without knowing how". I created the file mysql.php using Pspad editor to debug some queryes and mysteriously started to look like the bug:…
-
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
answer355
viewsSaving UTF-8 Files on the Server Side
help me with this code here in PHP: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Atualização de dados</title> <link…
-
1
votes1
answer1006
viewsgit does not eat charset changes
Hello, I created several files in ISO-8859-1 but now I am converting them to UTF-8. However, git does not identify this encoding change and even if I try to force a commit (adding any text), the…
-
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
votes1
answer240
viewsAccentuated error - Search ZIP - Magento
Hello, I’m doing an address search through the zip code in a function, then I pick up the result and create a session with the name of the city and the state, acontce that every time I have a city…
php magento character-encoding function accentuationasked 8 years, 8 months ago Quebrando Cabeca 131 -
1
votes0
answers71
viewsjquery . load and . ajax return different values, why?
Hello, My problem is that using . load or . ajax on the same address, I get different data values. Here’s an example: <span id="charset"></span><br/> <span id="d_nome"…
-
1
votes0
answers350
viewssetlocale in codeblock windows without working right
I have a programming project that was to develop a replica of the naval battle game. however I did all the program on Linux(Ubuntu 16.04) however my teacher uses windows (using codeblocks) and to…
-
1
votes0
answers69
views" xed" Followed by "t" on UTF-8
I have a Rails application and when I run or compile the Assets it gives the following error: "\ xED" followed by "t" on UTF-8 In my application.Rb I already have that key: config.encoding = "utf-8"…
-
1
votes1
answer371
viewsEncoding problems on the eclipse console
When reading the contents of a file to print the same on the eclipse console, I have a sharp word and it is coming out like this on the console: é um teste The correct thing to show is: é um teste…
-
1
votes1
answer585
viewsRad Studio 10 Seattle - Xmltransformprovider - Encoding UTF-8
I have 2 applications developed in RAD XE2. One has as object the typing of data that will be written in an XML file and the other, responsible for reading, validating and importing the generated…
-
1
votes1
answer65
viewsHow do I treat message with special characters
I am consuming a REST service that is returning the following message with special characters: "Espã Título Inválida" It is possible to treat this message?…
-
1
votes1
answer1711
viewsHow to show accents in python?
I’m needing to read a file of names in python, but they’re full of accents, I’m using this to open arquivo = open('dadostxt/Nomes.txt', 'r', encoding='utf-8') i put utf-8 in encoding, but when I go…
-
1
votes0
answers26
viewsProblem with accented strings
I’m getting a string in an AJAX, however, if that string have an accent it doesn’t work as it should. $texto = $_REQUEST['texto_de']; $texto_escrito = 'AB Construções e Serviços'; if($texto ==…
-
1
votes3
answers910
viewsEncoding without configuration: Eclipse (JSP) and Vscode
I have some problems related to encoding. Both in eclipse and Visual Studio Code are aimed at UTF-8. When I repair and save using the eclipse, it goes fine. But when I save in Vscode, the encoding…
java eclipse jsp character-encoding visual-studio-codeasked 6 years, 4 months ago Thiago Cunha 1,356 -
1
votes1
answer997
viewsAccentuation problem in postgresql with npgsql
I have a database postgresql raised with encoding SQL_ASCII and template0. When I try to select lines with accents like NAY gives error, but if the records have no accent works normally. Mistakes:…
-
1
votes1
answer221
viewsText encoding for RTF in java
I’m trying to modify a file .RTF, where the parameters that will be modified are settados as numbers. However, their characters are in ANSI believe me, because the file has its header the following…
-
1
votes1
answer555
viewsMaven causes problem with special characters for ISO-8859-1 files
I have a fully configured Eclipse project and my files. java uses ISO-8859-1 encoding and some other Resource files use UTF-8 encoding. I need to create an archetype from this project. I’ve tried…
-
1
votes2
answers81
viewsIs there an extra parameter for the linux script command for characters to be saved with the correct encoding?
When using the command script filename.txt is saved in the created file everything that is generated in the terminal, but when saving, the text is encoded in several points, points that I needed to…
-
1
votes1
answer86
viewsCharacter difference enconding Charset Difference using JPA but not with Prepared statement
I have an application using spring boot + oracle (via Tomcat datasource). Using spring-data, a simple query in a table returns encoding problem characters. This same application, in a very specific…
-
1
votes1
answer241
viewsAccent problem when running python script straight from C#
I’m using this to run the code: processo.StartInfo = new System.Diagnostics.ProcessStartInfo { FileName = @"\Python27\python.exe", Arguments = arquivoResposta, UseShellExecute = false,…
-
1
votes2
answers107
viewsBold special characters in Safari only
Special characters like ã or ç are getting bold only in Safari version 13. The site is meta tagged utf-8 <meta charset="utf-8"> For example: Choose them informsções... Select the…
-
1
votes1
answer265
viewsCharset in PHP with Mysql
following: My page header is configured like this: header('Content-Type: text/html; charset=UTF-8'); Set up the Mysql connection like this: mysqli_set_charset($dbc, 'utf8'); In my Mysql database a…
-
1
votes0
answers207
viewsError importing file with accents - Postgres
Guys, I need to copy a physical file from one directory to another, but for this I need to use Postgres. I’m using LO’s functions to do this. I can perfectly copy the file when it has no accents,…
-
1
votes2
answers529
viewsText returning with "?" instead of quotation marks and hyphens
Good afternoon. My site runs on ISO-8859-1 encoding and when I pull data from an external XML, some characters return as a question mark. I tried to convert with <?php header("Content-type:…
-
1
votes2
answers1117
viewsChange oracle characterset 11g
When performing a dump file import, oracle is returning me the following messages: IMP-00019: rejected line due to ORACLE 12899 error IMP-00003: Oracle error: 12899 found ORA-12899: very large value…
-
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
answer685
viewsSpecial character error in Java
I’m having a problem here and I haven’t found anything that would solve on the internet, if you could help me, I would be extremely grateful. Well, come on, I have a java web application that uses…
java postgresql spring spring-boot character-encodingasked 7 years, 3 months ago GiovaniOliveira 41 -
1
votes2
answers135
viewsWhy only an Encoding works in the algorithm?
Here’s the deal: I have an encryption module that encrypts a byte[] and out another byte[] encrypted, and at the end of the output a checksum is placed; the checksum is a single byte generated by…
-
1
votes0
answers99
viewsProblems with Java Strings
Guys, I’m running a data migration from a csv file to an H2 database. In this process I use the beanio to read the file and transform it into objects and then persist the objects in the base using…
-
1
votes1
answer279
viewsEncodings do not work in an Opencv file in Python 3
I followed the face detection tutorial using Opencv and wrote in Python 3. This file is not used print. I already know that Python 3 is international, is compatible with UTF-8 and does not need…
-
1
votes1
answer747
viewsProblems with encoding in Database Query
When trying to execute a SELECT, using fields that store data in the JSON structure, I see a problem with the data that may come: SELECT tbl_pf.nome, tbl_pf.adicionais::JSONB->'recebeTaxa' AS…
-
1
votes1
answer326
viewsASP.Net Web API - JSON without accentuation %20 %C3%A7
I am consuming an api but the return JSON does not come with the correct accent. in place of the mirror comes %20, for example. in the request json I even put the encoding.UFT8. How can I code this…
-
1
votes0
answers104
viewsRmarkdown with mixed accents
I wrote a report in Rmarkdown that, after a Windows update, it changed all accents by other characters. The main issue would be to read the external files. But there is a part that I need to read…
-
1
votes1
answer61
viewsencoding formatting . net
all right? With a problem that is as follows: I recover the html of a legacy system and, I need to change this html pa then return to the browser with the new html. But when I recover this report…
-
1
votes1
answer1450
viewsProblem with accents, C# App Console
Read and save the file public void LereGravar() { Console.WriteLine($"{DateTime.Now.ToString()} - Processamento Iniciado, Lendo Arquivo"); //Procura dentro da Pasta DirectoryInfo Dir = new…