Questions tagged as 'ascii'

2
answers

ASCII in Python

Hello. I come from C and I'm starting to learn Python. I have a question to move the characters of a string 3 positions and in C would look something like this: str[i] += 3; I tried to do the same thing in Python and it ended up causing an...
asked by 03.02.2018 / 19:47
0
answers

Development logic of a virtual keyboard in c [closed]

I create a array containing the 127 characters ascii eg list(char(0, 1, 2, 3, 4, ...)) and add an identifier with each key with each item in the list - corresponding to their respective values. Implement the ALFA NUMERI...
asked by 23.05.2016 / 02:36
1
answer

web service nusoap hangs with non-ascii characters

I developed a web service on my machine in php with NUSOAP and it worked cool, either by calling my own application or by testing with SOAPUI . I transferred the web service to the server and both there and on any machine other than mine i...
asked by 14.09.2015 / 19:35
2
answers

Decimal to binary conversion in C language

The code below, from the original ( link ) "prints" a decimal number between 0 and 255 in binary. #include <stdio.h> #include <stdlib.h> int main() { int n; // Número de entrada int r; // Resultado do deslocamento int i; // C...
asked by 28.06.2017 / 05:03
1
answer

Problem in assembling an array in C

I'm having a problem with an array that I set to get typed letters and these are transformed into ascii table numbers, but it does not print Where am I going wrong? Can anyone help me? #include <stdio.h> #include <stdlib.h> int mai...
asked by 27.10.2017 / 22:32
1
answer

Conversion of ASCII code to characters does not work

First of all, I'm new to Android development. I would like to know why my application crashes when I try to convert the ASCII code to characters. private String crip(String str, String psw) { int code = 0; String full_word=""; for...
asked by 04.02.2014 / 21:30
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

Why do ASCII characters differ from Excel for presentation through code in VBA?

Does anyone know why this occurs? I need to use characters from the " Wingdings 3 " font in Labels dynamically created in a VBA If these Labels are created directly on the form the problem does not occur, for example, when creating a...
asked by 18.03.2016 / 16:35
1
answer

Decrypt a code (so I understand it is in ASCII)

Well, basically I would like to know if there is any way to transform a script written in ASCII into Characters and if so, how would I transform it? Code (1) local code = '7 minimize = true -- minimizar a mainbp? bps = 1 -- quantidade d...
asked by 19.07.2016 / 19:04
1
answer

How to make a string "transformed into a number"

I have an exercise to make the user type a word and it is transformed by their corresponding numbers from the ASCII table. EXAMPLE : sara would print 115 97 114 97 this is the code: NOTE: I put a fixed value in the vector...
asked by 28.11.2018 / 15:34