Questions tagged as 'encode'

1
answer

return JSON with special characters in URL

I'm having a problem with the return of a JSON, I've done a query to fetch some images from the bank, some URLs the users have registered the images with special characters like - > (ç ã) The texts containing these types of characters are r...
asked by 16.07.2016 / 20:36
1
answer

Encode Python ASCII

Hello, I'm not able to correctly encode the following string in Python:    Algorithm I have tried the following alternatives: u'algor\u00edtimo'.encode('utf-8') 'algor\u00edtimo'.decode('utf-8') u'algor\u00edtimo'.encode('ascii') u'algo...
asked by 25.02.2015 / 20:51
2
answers

Problem when running project - Special characters

Good afternoon, I migrated my project to Intellij IDEA and when I run a code that should print a string with accentuation, I have the return: "method". The classes display the accent correctly more when calling on the console they bugam. I've at...
asked by 28.07.2016 / 21:35
1
answer

Delayed client side image rendering

I use images on a web page that are loaded from a field of type blob in Firebird . Images open in a modal, fully loaded, that is, without using thumbnails , and when the user clicks on one of these images, the image is resized to a larg...
asked by 25.06.2015 / 19:04
1
answer

AngularJs - Problems with accentuation

I'm getting strings in servlet with accent problems. Like for example: Send $scope.nome = "Pé" to servlet . In servlet line: String nome = request.getParameter("nome"); does not receive Pé and yes PÃc...
asked by 22.07.2016 / 18:57
1
answer

Convert string to WE8MSWIN1252

Starting to work with PHP + Oracle, and I'm having trouble encoding strings in WE8MSWIN1252 format for oracle. Does anyone have more information?     
asked by 25.02.2014 / 19:37
1
answer

Problems with SQL enconding x PHP [duplicate]

I have the following problem: My files are leaving with accentuation problems, my tables use utf-8 as encondig, the html files have the markup for utf-8 and even then the accents do not work: <html> <head> <base href="http...
asked by 05.06.2018 / 14:24
1
answer

Accentuation error when saving file in Python

I'm not able to save a file with accentuation in python, I've come to ask for a help from you; import csv f = open('output.txt', 'w') data = [] def parse(filename): with open(filename, 'r') as csvfile: dialect = csv.Sniffer(...
asked by 11.04.2017 / 01:23
1
answer

error with characters when decoding a variable from js to php

Hello, I am a problem that I do not know the reason, I have a code encoded in base64 and I inserted this code into a js variable, from php to js, it worked more perfect impossible, then I passed this js variable to php, also worked beauty, it di...
asked by 12.07.2015 / 15:24
1
answer

How to remove PHP Random Encryption

I have a code but every time when updating the page it generates a random encryption key, I would like to know how to leave it to generate a unique key for each url, below the following code: $gKey = 'welcometoapicodesdotcomthisiskey'; fu...
asked by 12.11.2018 / 12:34