Questions tagged as 'character-encoding'

4
answers

E-mail sending by PHP does not show accents correctly

Situation I have an email newsletter system, emails are sent to clients every day, but I noticed that when using accents such as ´~'^ , the words unconfigured like this: ÓAÃÃà below. Well, I've tried to include <meta...
asked by 12.04.2016 / 14:36
1
answer

Accentuation error when saving file in Python

I'm not able to save a file with accentuation in python, I've come to ask for a help from you; import csv f = open('output.txt', 'w') data = [] def parse(filename): with open(filename, 'r') as csvfile: dialect = csv.Sniffer(...
asked by 11.04.2017 / 01:23
2
answers

How to change the encoding of multiple files from ISO-8859-1 to UTF-8?

I have a project (in java) with more than 100 files, some of them are in other ISO in UTF8. How to change the encoding of all ISO files to UTF-8 without losing the special characters?     
asked by 02.04.2014 / 14:06
1
answer

Problems inserting Emoji in mySQL

I'm having trouble inserting EMOJI emoticons into mySQL, it inserts "????" for each emoticon. My table is already as utf8mb4_bin how do I insert it correctly? Is it PHP?     
asked by 06.06.2014 / 18:47
1
answer

Save words with python accents

I have this json file: {"certa": 1, "vez": 7, "quando": 13, "tinha": 6, "seis": 7, "anos": 6, "vi": 4, "num": 4, "livro": 3, "sobre": 6, "a": 47, "floresta": 1, "virgem": 1, "hist\u00e3\u00b3rias": 1, "vividas": 1, "uma": 31, "imponente": 1, "...
asked by 18.12.2018 / 23:04
1
answer

Difference of character and charset

I'm getting some things in SQL, and sometimes I run into CHARSET and CHARACTER For example: create database teste default character set utf8; And now, creating a table: create table teste ( teste varchar(30) ) DEFAULT...
asked by 15.04.2018 / 15:50
1
answer

Problem with accentuation when executing 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, CreateNoWindow = true, WindowStyle = S...
asked by 24.12.2016 / 18:41
1
answer

Database Encoding - German Characters

I come across a strange situation, when I try to insert German characters (ä, ä) into the database they are inserted as follows: "üüü " The field is set to utf8_general_ci If you insert the data in a query directly into the dat...
asked by 02.06.2016 / 17:21
5
answers

Php returns null JSON when accented in MySQL

Hello, I have the following code in php: <?php $con=mysqli_connect("localhost","user","senha","banco"); $parametro = $_GET["parametro"]; if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " .mysqli_connect_error(); }...
asked by 30.03.2016 / 19:52
1
answer

character encoding UTF-8 not working

I know the issue has been commented on numerous blogs and forums around the world, but I really do not know what it might be causing, because I think everything in my project configuration is ok: pages * .jsp <%@ page language="java" c...
asked by 07.01.2015 / 17:16