Questions tagged as 'character-encoding'

1
answer

How to configure charset = utf-8 in Mysql?

I'm trying to set charset=utf-8 in MYSQL, but I can not find it in the my.ini file. Which file do I set up?     
asked by 07.07.2016 / 22:09
1
answer

Validation of the strings size

I was creating a function to validate large text fields (description, observation, ...), which in SQL will be saved as TEXT , so basically I did this: function($valor, $min = 0, $max = 65000) { if (strlen($valor) >= $min || strlen...
asked by 28.09.2018 / 15:37
1
answer

UTF-8: reading and inserting into MySQL via Ruby 1.8

I'm using a Ruby script that parses an XML file and inserts the information into a MySQL database. It works perfectly fine, but it's giving me a headache now that my XML files have strings in Portuguese Detail: I'm completely new to Ruby....
asked by 02.07.2014 / 21:22
1
answer

How to record a file in ISO-8859-1 without losing accent

I would like to know how to write a file in ISO-8859-1 and not lose the graphical accent if possible, my doubts come from the following. When defining in Eclipse that the file encoding follows this charset I quoted above, it correctly sav...
asked by 14.03.2014 / 01:32
1
answer

Can I use ANSI charset in HTML files?

In order to be able to publish texts daily using any editor like notepad ++, for example, I would type the words with an accent and save them in the HTML file. I have been reading that UTF-8 it is necessary to put a code for the accents. For e...
asked by 16.06.2014 / 17:11
2
answers

Problem with decrypting hash in Base64

I was reading about an apache rule for validating permissions on files / directories , and I saw that the default file that reads the user and password was: usuário:senha (sendo a senha em base64). I tried to decode the password through th...
asked by 27.04.2014 / 19:11
2
answers

MySQL Workbench Error "Unknown File Encoding"

I have a problem, I backed up my database, however when I load script into MySQL Workbench , I get a message saying: "Unknown File Encoding" IfIchooseutf8Igetthismessage: I can only open if I choose latin1 , bu...
asked by 26.06.2016 / 09:48
2
answers

Error reading page html with Html Agility Pack

I'm reading an HTML page using the Html Agility Pack . I run the code on the notebook and it works perfectly. The problem is when I run the same on Windows Phone 7.1. Accent characters (ç) are encoded. And the strangest thing is that the sam...
asked by 14.11.2014 / 22:54
0
answers

How can the programmer / softhouse require customers and suppliers to respect UTF-8? [closed]

Preambles : As already placed in this , in this other and several other answers , UTF-8 is a standard de facto and de jure . Governments, such as European and Brazilian, and democratic entities, such as W3C, strongly recommend the use o...
asked by 09.08.2014 / 13:27
4
answers

XML returned by web service with encoding error

Hello, I have an XML that returns from a webservice with encoding errors, in the encoding of XML is as UTF-8 however it does not display accents correctly and I can not detect which correct encoding it should be . I have no information of how i...
asked by 16.02.2017 / 01:40