Questions tagged as 'character-encoding'

5
answers

How to detect the page encoding with PHP?

I wanted to create a function that would save the data in the database always in the correct encoding (my bank is UTF-8) according to the detected encoding . Is there any native PHP function to do this? Is there any other way?     
asked by 19.12.2013 / 12:57
2
answers

Encoding utf-8 allows accents?

If we do # encoding: utf-8 In the first line of a Python program, can we make accents in the whole code?     
asked by 05.06.2015 / 03:01
3
answers

IDE - Divergence between IDEs in relation to tab [ao Enter]

For reasons of hadware , I am the only one on my team who is using Sublime Text 3, the others are using Eclipse Luna or Mars, so far nothing. However since the exchange I have had some problems in the commit part, because my file...
asked by 19.08.2015 / 21:09
3
answers

How to make a LIKE ignoring accent?

I need to make inquiries in a database of registered users. However, I need this search done by the user name, through LIKE , and this should ignore the UTF-8 encoding present in the names. What I want to say is this: When yo...
asked by 14.08.2015 / 15:04
2
answers

Extract .ZIP file with accent on name

I'm using the System.IO.Compression.ZipFile lib to unzip .zip files and I came across a major problem when trying to extract files that have accents in the name. If I try to extract with UTF-8 encoding : ZipFile.ExtractToDirectory...
asked by 21.07.2015 / 16:39
1
answer

Display Latin characters in a String

How do I display Latino characters as content for a web page? This content to be displayed is written in java, which should encode it correctly and return a String with values to be written to the server. I'm using the URLEncoder class...
asked by 30.09.2015 / 19:00
1
answer

Replacement of special characters by ASCII codes

I'm setting up a site built in charset and when I move to UTF-8 the special characters appear on the screen with that diamond and a question mark, so in addition to charset I need to change the characters by ASCII codes. Ex: á - &aacut...
asked by 16.12.2014 / 18:10
1
answer

charset declaration in .css file

Sometimes I come across some examples of file .css with the declaration of charset logo in the first line: @charset "utf-8"; Until my code editor (Dreamweaver CC 2015), when I create a new CSS file, it already places this line...
asked by 21.11.2018 / 00:30
1
answer

Project import encoding problem for Android Studio

Imported a project via SVN in Android Studio. Previously, the project was in Eclipse and whoever handled the project ended up committing files as .classpath . From there I started to have an encoding problem that, regardless of what I d...
asked by 19.05.2015 / 18:36
3
answers

What is the difference between files encoded with BOM and without BOM? [duplicate]

In a long time I faced problems with formatting files between ISO , UTF-8 , ANSII and others, search for ways to solve these problems, I found several different ways, both using tools, and using programming languages, but one thing I never...
asked by 21.05.2014 / 16:06