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
-
4
votes1
answer332
viewsWhat is the difference between Charset : DOS850 x ISO8859_1 x WIN1252?
What’s the difference between these Character Sets: DOS850 x ISO8859_1 x WIN1252 because I see it at the time of creating a database and do not understand right what their differences? I know it’s…
-
4
votes1
answer1658
viewsIssues with accentuation when reading data from JSON file
The method below is extracting data from a JSON file, to fill a Dropdownlist. public static List<Uf> GetAll() { var client = new WebClient(); JsonSerializerSettings settings = new…
-
4
votes1
answer1486
viewsEncoding problem in Python
At one point in my code I receive a variable var of type str containing SENTEN\u00c7A. in making var2 = var.encode() print(var2) is printed b'SENTEN\\u00c7A' The original word would be 'SENTENCE' In…
-
4
votes1
answer152
views"Output" with special characters
I am using the GCC compiler version 5.3 for the following program, written in Aptana: #include <stdio.h> void main(void) { int positivo = 32767; int negativo = -32768; printf("%d +1 é %d\n",…
-
4
votes1
answer1043
viewsEncoding / Accents / Punctuation / R Markdown Symbols have gone
I have had a highly boring situation and the previous tutorials did not help. I recently switched computers, and now the R Markdown accents just got lost. Use windows 10 and the image file below is…
-
3
votes1
answer1549
viewsHow to write a file to ISO-8859-1 without losing accentuation
I would like to know please how to save a file to ISO-8859-1 and not to miss the graphic accent if possible, my doubt comes from the following. When defining in Eclipse that the file encoding…
-
3
votes1
answer1544
viewsCan I use ANSI charset in HTML files?
In order to be able to publish texts daily using some editor like Notepad++ for example, I would like to type the words with an accent and save them in the HTML file. I’ve been reading that the…
-
3
votes2
answers654
viewsProblem decrypting hash in Base64
I was reading about an apache rule for validating permissions to access files/directories, and saw that the default file that reads the user and password was: usuário:senha (sendo a senha em…
-
3
votes2
answers127
viewsAccent in comment field
I need a help for a situation that seemed simple, I have a form with a comment field and when sending this comment by email the same appears all disfigured, I’m using the phpmailer. The code page on…
-
3
votes1
answer80
viewsUTF-8: reading and inserting into Mysql via Ruby 1.8
I am using a script written in Ruby that parses some XML files and inserts the information in a Mysql group. It works perfectly well, but it’s giving me a headache now that my XML files have…
-
3
votes2
answers703
viewsError reading html page with Html Agility Pack
I’m reading an HTML page using Html Agility Pack. I run the code on my laptop and it works perfectly. The problem is when I run it on Windows Phone 7.1. Accented characters (ç) are encoded. And the…
-
3
votes3
answers1871
viewsFile or character encoding error
On every page of a site I’m developing with coding UTF-8, defined both in the charset of <head> how much in the editor encoding, I’m having problem in the rendering of words that have accents,…
-
3
votes1
answer145
viewsInsert into database recording in half
I take the name of the news and insert in another table, but one of the fields is going by half, follows image of print: Database Source code of where send: <input name="nomenoticia"…
-
3
votes1
answer3629
viewsHow to set charset=utf-8 in Mysql?
I’m trying to set up the charset=utf-8 in MYSQL, but not found in my.ini file. In which file configure ?
-
3
votes2
answers771
viewsMysql Workbench Error "Unknown File Encoding"
I have a problem, I backed up my bank, however when loading the script in the MySQL Workbench, I get a message saying: "Unknown File Encoding" If I choose utf8 get this message: I can only open it…
-
3
votes1
answer518
viewsHow to insert emoji character into a MYSQL TEXT field?
I have a text editor. In this text editor, you save the information in a table, using a column like MEDIUMTEXT. When I tried to insert an emoji, the following error appeared: Incorrect string value:…
-
3
votes2
answers131
viewsCharacter display using numeric codes: ߷
I tried to search on the subject in Google, but it was difficult because several other subjects are related, so I ask here. I am using special characters, printed from the respective numeric code,…
-
3
votes1
answer979
viewsHow to manipulate html forms in python
I needed help with the cgi forms in python. This code works normally when I don’t insert accents: # !/Programas/Python36-32/python # -*- coding: utf-8 -*- import cgi print("Content-Type: text/html;…
-
3
votes1
answer817
viewsHow to solve this encoding error (encoding error) in Pandas
I’m having trouble when python reads the xlsx with pandas. When it runs the des_pt = (f_pt.head()[pt][0]).encode('utf-8').strip() and puts the variable pt. Has an Encode problem because some…
-
3
votes1
answer219
viewsValidation of string size
I was creating a function to validate large text fields (description, observation, ...), which in SQL will be saved as TEXT, so I basically did this: function($valor, $min = 0, $max = 65000) { if…
-
3
votes1
answer99
viewsCoding Problem Between Javascript Client and Python Server
I have a server socket in Python, follow the code: from socket import * host = '127.0.0.1' port = 6060 try: server = socket(AF_INET, SOCK_STREAM) server.bind((host, port)) server.listen(5)…
-
2
votes1
answer89
viewsCharacter problems coming in Ndefmessage NFC
I am making a program that exchanges messages for NFC, and I am having a problem that when I want to pass a Parameter in the message appears all right now when I want to pass 2 parameters, so there…
-
2
votes1
answer289
viewsAbout the URL how it is encoded and POST parameters
The URL is always encoded, as is the encoding, what it encodes, and what importance or need to encode a url? I have a div, who’s got line breaks and gets something printed like: 1 2 3 in HTML gets:…
-
2
votes1
answer1370
viewsProblem with accentuation Curl
I have a code that sends data via cURL to another page inside the server, only I have a problem... When sending this data to the other page, it inserts it into Mysql only when seeing the record…
-
2
votes0
answers184
viewsHow can the programmer/softhouse require customers and suppliers to respect the UTF-8?
(2020) See manifesto by UTF-8, and all the elements of discussion that still had around the subject by ~2015, at /a/28404/4186 From an international point of view and good practice, UTF-8 is the…
character-encodingasked 10 years, 3 months ago Peter Krauss 1,830 -
2
votes1
answer213
viewsMy application does not save accented data correctly
I’m developing a web application with Extjs 4 and PHP. I’m having trouble doing the INSERT in the database. For example, I registered the product "tea", but it saves "chu00e1". My entire database is…
-
2
votes0
answers571
viewsReply XML does not display accented characters
I am using Jersey in a WEB application. In this application, I return an XML file to client requests (which are web-browsers). In order to ensure accented character display, I wrote the Produces…
-
2
votes1
answer72
viewsFormat string Qt html charset
I have the following string: Qstring str = "Macarr & # x and 3 ; the integral. < br/>" (I put space between all characters of the special character if it would not be visible and would…
-
2
votes2
answers6895
viewsHow to define "charset" of a table in SQL Server?
In Mysql to define the charset of a table we can use so: Mysql: create table user_details (...) default character set = utf8; How can I do the same in SQL Server?…
-
2
votes1
answer842
viewsAndroid Studio does not display English characters correctly
My project is not displaying any English characters correctly. When I display a string as "no", it displays "no". The strange thing is, when I call the string straight from the res/string.xml, it…
java android android-studio character-encoding configurationasked 9 years, 6 months ago Diego Fortes 357 -
2
votes3
answers11617
viewsProblems with special characters Html5 bootstrap
I’m having problems with my html, the page does not recognize the special characters. <!DOCTYPE html> <html > <head> <title>Verde</title> <meta charset="utf-8">…
-
2
votes0
answers308
viewsConvert ASCII Database Postgresql return to UTF-8 in Java Ksoap
Have app Android that consumes from a webservice where the database is Postgresql and the ASCII type. When I try to print the string returned in the app he defaults the lyrics with accentuation, for…
-
2
votes1
answer75
viewsGrails 3.0 encoding does not work outside the index.gsp
I am creating a Grails project with version 3.0.4 and something strange occurs: Two Gsps with the same content: views > index.gsp: views > Domain > show.gsp: <!DOCTYPE html>…
-
2
votes3
answers9219
viewsjson_encode returning "Malformed UTF-8 characters, possibly incorrectly encoded"
I’m using the Laravel 3 in a given system. Sometimes I’m having a problem with the json_encode, returning false in some cases. In this code, I upload an external page and, with the DomDocument, make…
-
2
votes3
answers396
viewsWhy does the php string sometimes return instead of a few accented letters?
I asked a question about coding problem and json_encode of PHP. In order not to generate a very broad question, I decided to ask this question separately. Because sometimes PHP returns the character…
-
2
votes3
answers4284
viewsProblem with special character "ç" in javascript
I have a switch case to check the month and had to add a hexcode for the month of March not get problem in the character "ç". The March string was like this: Mar o One of the ways to solve the…
-
2
votes2
answers1011
viewsProblem running project - Special characters
Good afternoon, I migrated my project to Intellij IDEA and when executing a code that should print an accentuated string, I got the return: "m? all" (method). Classes display the accent correctly…
-
2
votes1
answer146
viewsProblem when merging
I’m doing merges, and in this action, accented characters are being swapped for symbols, I still don’t know what the source of the problem is, if it’s the encoding of the files, or if the problem is…
-
2
votes0
answers146
viewsSoapclient -> Coding problem(Invalid byte 2 of 3-byte UTF-8 Sequence)
I am making a request to a webservice with PHP(Soapclient), and when I have special characters, error/ defrormation occurs. What I’ve already tried: Set the parameter 'encoding'=>'ISO-8859-1' or…
-
2
votes2
answers1580
viewsProblems with charset in the Laravel
I have a database Firebird which was not built through migrations in the Laravel, and it has encoding ISO-8859-1 and I need to return an object in the format JSON for my application, however, in…
-
2
votes1
answer1115
viewsHow to create COLLATION for Brazilian Portuguese
In the documentation says to create the collation thus: CREATE COLLATION french (LOCALE = 'fr_FR.utf8'); This example is for France. How it would be for Brazilian Portuguese?…
-
2
votes1
answer48
viewsAre there problems using special characters in Python codes?
Thinking of leaving the codes more sleek and sleek would it be possible to use special characters in the codes? It would bring some problem?
python character-encoding encoding-style source-codeasked 5 years, 11 months ago Raul Nascimento 103 -
2
votes4
answers1354
viewsXML returned by web service with encoding error
Hello, I have an XML that returns from a webservice with encoding errors, on encoding XML is like UTF-8 but it doesn’t display accents correctly and I can’t detect which correct encoding it should…
-
2
votes1
answer133
viewsPrintstream does not record accents
Could you help me with a question? My code is not accentuating the text file, even passing the encoding. (I am reading it in notepad) Scanner in = new Scanner(System.in); private String texto;…
-
2
votes1
answer2359
viewsReturn of "?" instead of the special characters in a SELECT
I’ve got a problem, I’ve encoded everything with utf-8, I’ve tried multiple ways to fix it and I can’t, in one <option> of HTML, I pull a table from the database, but it returns with a special…
-
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
answer292
viewsproblem with R enconding
I was asked to do text analysis and I’m having trouble with coding, someone knows how to convert these strings with accent directly? Example of how the file appears: vocês dizerem que não!!! Até…
-
2
votes3
answers5033
viewsUse UTF-8 or Latin1?
I started a new project and when creating the database (Mysql), I didn’t think twice, I put a CHARSET=utf8. The application will support Portuguese and English and users should use only these two…
-
2
votes1
answer66
viewsMicrosoft Edge passing strange characters in AJAX call
I have an Ajax call on a web system, where you specify a date of dismissal, and fire an employee on that date: data is the parameter that comes with the Ajax call. When I test in Chrome or any other…
jquery ajax google-chrome character-encoding microsoft-edgeasked 6 years, 6 months ago Artur Trapp 5,175 -
2
votes1
answer84
viewsEncoding problem in a file folder
I switched computer today on the service and my codes stopped working, giving encoding error in the files folder: > setwd("I:/AGG/01. DIGEP/Relatórios Gerenciais/Edição/2018-08-17") > getwd()…