Questions tagged as 'utf8-decode'

2
answers

How to manipulate UTF-8 on the Moon

How to work with a composite UTF-8 encoded string on the Moon? As for example: get one-character code in a string by its index; encode character codes, something like string.char(...códigos) or ('').char . What are the p...
asked by 26.01.2017 / 23:54
1
answer

Problems with utf8_decode in array return

I have a problem that has left me quite confused. I have a page in php that makes register of Ministries. In it I send the data via ajax to another php page to do the insertion, and the insertion always occurs in the normal way. Here are the cod...
asked by 04.09.2016 / 17:20
3
answers

Problem with accent when saving text to the database

Good morning guys, I have the following problem. My system makes changes to a table in the database, if the content is inserted directly by script in postgres, accenting works normally, but when updating the text by the system, the accent does n...
asked by 27.04.2017 / 15:15
0
answers

I need to return a 12-position token in Base64

I need a token of 12 positions in Base64, so when I generate a hex it has exactly 32 digits. At first I convert to byte [] byte[] tok = Base64. decodeBase64(preToken.getBytes()); The idea is that with this token I generate a hexadecimal...
asked by 14.12.2018 / 13:42
0
answers

How to read a csv file with accented characters and transfer this data to a dictionary?

I have a csv file separated by ";" with two columns exported via excel: 1) Person's name 2) the person's email. However, the name contains accentuation and when trying to read the file and create the dictionary, python 3 (in macOS) give...
asked by 18.03.2018 / 13:32
1
answer

Picking items from an array converting to UTF8

Hello! My problem is this: I have a list of values in an external php file and when I use an include to call the values in my template the characters with accents are replaced with queries. I would like to know if there is a function or another...
asked by 05.11.2016 / 22:23
1
answer

UTF-8 conversion error

I am converting Strings that I retrieve from the MySql database, however in the database it is saved as UTF-8 to ISO and I am using the code below. public static String ISO(String str) { Charset utf8charset = Charset.forName("UTF-8");...
asked by 06.09.2016 / 05:12
1
answer

Python error accent

Python is displaying a list of characters with a character error: Normal List 19/01/2017 13:35 ARQUIVADO DEFINITIVAMENTE 03/11/2016 10:55 EXPEDIÇÃO DE DESPACHO 03/11/2016 10:52 CONCLUSOS PARA DESPACHO 03/11...
asked by 28.08.2018 / 00:39