Questions tagged as 'encode'

1
answer

Migration, Delphi and Firebird. What is the correct way to deal with the encode question?

I have a project in Delphi 7 that makes use of Firebird. I'm thinking of migrating this application to a Delphi XE * version. However, we know that since Delphi 2009 the String pattern is Unicode and not ANSI anymore. My Firebird database...
asked by 05.02.2016 / 19:24
2
answers

Static string being created with wrong encode

Hello, When creating a string in a Java class (for example: String t = "Ola Java!" ), it seems the compiler is choosing the 'wrong' encode to interpret the bytes that are in the source and generate the String (the 'right' encode should...
asked by 30.03.2014 / 19:10
1
answer

How to encode and decode base64 strings in C?

I need to encode (and decode) a JSON to be transmitted from the web to a microcontroller. The% w_that I am sending is encrypted with JSON , but cyphertext contains unprintable characters and I have some problems with this. For examp...
asked by 01.09.2016 / 04:55
0
answers

MojoFailureException caused by charsetName in Maven Archetype [closed]

A WAR project that I'm trying to use base to run mvn archetype:create-from-project causes the following exception stack after trying to read one of the .java files: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ar...
asked by 24.06.2016 / 19:40
2
answers

What is the difference between Encoding, Encryption and Hashing?

I would like to understand the difference between Encoding , Encryption and Hashing and also examples of when using one or the other.     
asked by 27.05.2015 / 17:49
2
answers

Incorrect formatting when opening a PDF generated by latex

In my program I need to open a PDF file and get the text it contains. However when opening the PDF, the text is poorly formatted. For example: Thanks to my family for not being? measure effort When the right thing would be: Thanks to my fa...
asked by 29.04.2015 / 03:20
2
answers

Function encode () and creation of hashes

I'm using Python 3.6 to do a program in which the person types an MD5 hash, so the program saves the hash in a variable, reads a txt file and plays the contents inside a list, where each name separated by , is an item in that list. Aft...
asked by 29.12.2018 / 01:15
1
answer

Encode loss while minimizing javascript in Grails

In my javascript file there is a message with the string "service" for example. When I run the project (run-app) and check the javascript by the browser, the word appears as: "service". But this is displayed correctly on the screen when the mess...
asked by 09.05.2016 / 09:05
2
answers

php encoding to mysql database [duplicate]

Well, I'm having a problem with encode when posting data to a table mysql by php , my page is with encode utf-8 , my bank using latin1 , but I do not know how such a conversion, if I change the encode of the site...
asked by 14.12.2016 / 02:50
1
answer

How to check if a String is encoded in base64?

I'm working on an email application using VueJs / Quasar on the client and HapiJS on the server, and some emails (depending on the sender) come with base64-encoded text, and some do not. To solve this, I need to find a way to identify if the e...
asked by 24.08.2017 / 17:00