Questions tagged as 'utf-8'

1
answer

Error Email PHP Enconding

I have this web page where I have a form with which to send messages to the gmail of the owner of the page, to contact him. .. link Each time I send a test message the topic of the message comes out without encoding ....
asked by 11.01.2017 / 14:51
1
answer

Read XML in ISO-8859-1 and move to UTF-8 (Android Studio)

I am creating an application in Android Studio. This connects to a web and receives an xml that is in ISO-8859-1 . The application uses UTF-8 . It is impossible for me to paint the tildes, ñ, etc. I've used URLDecode.decode, xm...
asked by 09.11.2018 / 19:20
0
answers

Decode strings with JS

I have problems decoding strings like these "RincÃÂ ³ n de Romos" in JS, using decodeURIComponent(escape(String)) . The error is: URIError: URI malformed .     
asked by 25.10.2018 / 20:36
0
answers

Reading problems with CSV and PHP [closed]

I tell you my problem: I download from Facebook a list of potential customers obtained to hear canoalas advertising. That file is in CSV UTF-16 format. What I do first of all to modify the encoding and pass it to UTF-8 is: iconv -f UTF-1...
asked by 14.08.2018 / 17:59
1
answer

TXT input UTF-8, output TXT UTF-8. Netbeans - Run - perfect files, using the jar - rare characters. What can be?

I created an application that reads 2 text files (txt), in one there is Russian text and in the other Spanish text. (Both txt in UTF-8) Then arm a single txt with both texts. The output of the / txt is also / are UTF-8. If I run the progra...
asked by 03.06.2018 / 22:00
0
answers

When using base64 on a string of bytes I receive the error 'utf8' codec can not decode byte 0x86 in position 2: invalid start byte

I'm trying to encrypt a file through a web api that uses Flask. First I read the bytes of the file, I put it in a json encoding with base64 and I send it in a post to the api: with open('/root/Desktop/fichero.txt', 'rb') as outfile: dat...
asked by 29.11.2017 / 12:26
1
answer

How to add utf8_encode to my php code

<?php $mysqli = new mysqli("localhost", "root", "", "lista"); if ($mysqli->connect_errno) { echo "Fallo al conectar a MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;...
asked by 03.03.2018 / 17:43
2
answers

hosting and accents [duplicated]

Good morning everyone! I'm using Hostinger as host, and I do not put it to publicize it, but because the technical service is not able to tell me why despite having the code that I will put below the accents and special characters if they are...
asked by 20.04.2017 / 23:53
3
answers

Does UTF encode or decode an array?

I am making a form where I have to show a survey that is already hosted in the BD. I have the problem that it takes strange characters ...    "Mr./Sra.CASER MIRO ROTUE The technician gave you information on the operation of the installed equ...
asked by 29.03.2017 / 18:09
1
answer

Problem of accents in the name when saving a file in php

I have a problem when uploading files in php, the files upload well but they remain with the name: Presentation1.pptx when they should be Presentation1.pptx, because the name changes I can not call them later, I tried with utf8_encode ($ _FILES...
asked by 19.06.2018 / 22:04