Questions tagged as 'utf-8'

2
answers

UTF8 in PHP MySQL connection

I have a PHP PDO connection with two databases, however, I'm having problems with the special characters of both. How to solve? $host = "localhost"; $user = "user"; $password = ""; $database1 = "bd1"; $database2 = "bd2"; try { $dbh1 = n...
asked by 30.01.2017 / 21:58
1
answer

utf8 correct text how to remove strange characters [duplicate]

Good afternoon how do I use utf8 on html page to remove characters like Meal that should be Meal? Thanks!     
asked by 28.07.2016 / 18:14
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

How to save php files with utf8 characters?

When I name a php file with utf8 characters, for example 'ççáá.php' the local server does not open the file. I really need utf8 names to name these files, but you can do some sort of conversion . That is to get a utf8 name , convert it to a...
asked by 04.04.2018 / 14:49
1
answer

How to configure Portuguese in kivy? [closed]

My App has two files, * .py and * .kv, but I'm having problems with accents in my GUI. I have already tried to resolve it in the .py file with    #encoding: -*- utf-8 -*- But the problem continues, please help me. Settings: Python...
asked by 08.03.2018 / 21:47
1
answer

I can not change the collate of my column in mysql to utf8_general_ci

Good morning, people. I have a problem with changing the collate of a column in my database. An example of how I'm running: ALTER TABLE 'minhaTabela' CHANGE COLUMN 'nome' 'nome' VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_general_ci' AFTER...
asked by 16.02.2018 / 16:18
1
answer

Insert accented word in MYSQL

How can I correctly insert accented words in MySQL? Example: if you try to insert "John" you are recording John. MySQL is as Collation utf8-default collation I get the input data "name" below: <%@page contentType="text/html" pa...
asked by 29.01.2018 / 02:22
1
answer

Formatting a PHP string in UTF8

I have the following content in a $ description variable: Iwouldlikethewords"metallic" "plastic" "dimensions" to be normal. What should I use?     
asked by 28.11.2017 / 14:29
2
answers

Problems with accentuation

I have visited several sites and StackOverflow was the main one, where several solutions were proposed for page accentuation problems. I noticed that I had set up my wrong database (utf8-bin) and my page was with ISO-8859-1 charset. I have corre...
asked by 12.10.2017 / 19:42
1
answer

How to solve wrong spreadsheet export xml

I have a form that receives some registration and is transmitted to another page via ajax that does the insertion in the database. The problem is that at the time of receiving, if I do not use utf8-decode on the variable where it has accent will...
asked by 08.08.2017 / 19:38