Questions tagged as 'character-encoding'

0
answers

How to solve this encoding error in Pandas

I'm having a problem when python reads xlsx with the pandas. When you run des_pt = (f_pt.head()[pt][0]).encode('utf-8').strip() and put the pt variable. It has an encode problem because some characters are in utf-8. import pandas as pd...
asked by 21.06.2018 / 21:16
0
answers

Problem with accented strings

I'm getting a string in an AJAX, but if that string has an accent it does not work as it should. $texto = $_REQUEST['texto_de']; $texto_escrito = 'AB Construções e Serviços'; if($texto == $texto_escrito){ echo "igual"; } I am runnin...
asked by 05.06.2018 / 16:13
1
answer

How do I handle message with special characters

I am consuming a REST service that is returning the following message with special characters: "Animated T & amp; Spaces" Is it possible to handle this message?     
asked by 11.04.2018 / 00:11
0
answers

Problems with java strings

I am doing a migration of data from a csv file to a 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 jpa + hibernate. The problem is strange because wh...
asked by 01.02.2018 / 15:38
0
answers

"\ 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 this key: config.encoding = "utf-8" Does anyone know what it c...
asked by 21.11.2017 / 18:13
0
answers

setlocale in windows codeblock without running right

I have a programming project that was to develop a replica d naval battle game. but I did the whole program on Linux (Ubuntu 16.04) but my teacher uses windows (using codeblocks) and to ensure I was testing the same on windows I already added...
asked by 30.10.2017 / 21:26
0
answers

Error importing file with accents - Postgres

Well, I need to copy a physical file from one directory to another, but for that I need to use Postgres. I'm using the LO functions to do this. I can perfectly copy the file when it has no accents, but when I have it I get the following error...
asked by 18.01.2017 / 13:09
2
answers

Text returning with "?" instead of quotes 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: text/html; charset=utf-8"); ?> but a...
asked by 10.02.2017 / 19:33
1
answer

Charset in PHP with MySQL [duplicate]

Following: The header of my page is configured like this: header('Content-Type: text/html; charset=UTF-8'); I configured the connection to MySQL like this: mysqli_set_charset($dbc, 'utf8'); In my MySQL database a is set to InnoDB an...
asked by 07.01.2017 / 23:10
1
answer

Difference of character 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 characters with an encoding problem. This same application, in a very specific situation, I create a direct (no dat...
asked by 23.12.2016 / 01:13