Questions tagged as 'character-encoding'

1
answer

How to change default Encoding in Sublime Text 3

In my work, we programmed PHP mostly and all the code files were made in ASCII, I'm doing some page inclusions and I often need to open the existing files and add new things. I do this through Notepad ++, because whenever I open one of the ex...
asked by 26.04.2018 / 01:50
1
answer

Encodings do not work in a file with OpenCV in Python 3

I followed the face detection tutorial using OpenCV and wrote in Python 3. In this file, print is not used. I already know that Python 3 is international, is UTF-8 compatible and does not need encodings. But even so, no accent appeared on...
asked by 18.03.2018 / 15:51
1
answer

Encoding problems in the eclipse console

When reading the contents of a file to print the same in the eclipse console, I have a pronounced word and it's coming out like this in the console: é um teste The correct display is: é um teste I checked the eclipse Run options and m...
asked by 16.02.2018 / 18:50
2
answers

Encoding without configuration: Eclipse (JSP) and VSCode

I have some issues related to encoding. Both in eclipse and Visual Studio Code are pointed to UTF-8. When I repair and save using eclipse, it works fine. But when I save in VSCode, encoding misconfigures. Here's an example: I use eclips...
asked by 27.06.2018 / 14:47
1
answer

Composer encoding problem

Currently my composer file started to present some errors in the messages that seem like encoding errors, someone has already gone through this and knows how to solve? I asked if there was anything I could find but I did not find any answer abou...
asked by 23.08.2016 / 16:39
1
answer

Saving UTF-8 Files on the Server Side

Help me with this code here in PHP: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Atualização de dados</title> <link rel="stylesheet" type="text/css" href="uploa...
asked by 19.11.2015 / 14:49
1
answer

Decode email characters

I am trying to import data from an email and I can get the data, however some characters come in an encoding that I did not find how to convert, for example. Goioer=C3=AA Paran=C3=A1 I tried utf8_decode, quoted_printable_decode, and other f...
asked by 01.04.2014 / 22:05
1
answer

Text encoding for RTF in java

I'm trying to modify a .RTF file, where the parameters to be modified are set as numbers. However, its characters are in ANSI I believe, because the file has its header the following directives in RTF {\rtf1\ansi\ansicpg1252...
asked by 24.09.2018 / 23:14
2
answers

Atom does not save in correct encoding

When you save a file to Atom , it always writes accents to UTF-8 . Even the file being identified as ISO-8859-1 (there at the bottom). Then I did the following test in the terminal: Before opening the file: file -I arquivo.php...
asked by 18.05.2017 / 17:58
1
answer

git does not commit charset changes

Hello, I created several files in ISO-8859-1 but now I'm converting them to UTF-8. However, git does not identify this coding change and even if I try to force a commit (adding any text), the charset of the file remains the same.     
asked by 03.02.2017 / 16:04