Questions tagged as 'caracteres'

2
answers

What are the main differences between Unicode, UTF, ASCII, ANSI?

What are the main differences between "encodings" and "Unicode, UTF, ASCII, ANSI?" Are all of them really encodings or are some just sub-categories of others? I do not want to know all the details of each, just a brief of each and, if poss...
asked by 05.10.2016 / 21:59
3
answers

how to increment letters in php? [duplicate]

I need to make a program in php that increments a letter in the name received ex: If the user types the letter B, it needs to transform it into a C-word.     
asked by 04.07.2017 / 14:23
2
answers

How to identify a line break character in C?

Problem: Sometimes I get an entry like (andtheinputcontinues)othertimesas: (andtheinputcontinues)Thatis,Icanreceiveaninteger,ortwo,orthree,andthenlaterreceiveastringtodoanything.Myproblem:Icannotsetwhentostopreceivingtheintegers.Itriedtoiden...
asked by 24.08.2018 / 23:12
1
answer

How to delimit the number of characters written per line in a "txt" output, in the R?

I am writing a filelog and want to print it on an A4 sheet. One of the parts of this filelog has a variable, with the following structure: cod<-c(82024,82042,82067,82098,82106,82113,82141,82145,82178,82181,82184,82188,82191,82198,82212,...
asked by 19.03.2016 / 18:38
1
answer

Print special characters in c that are in a .txt file with library locale.h

My college end-of-school program has several screens that print large arquivo.txt , but as I do in C , some characters do not appear, such as ç, é, ã... And so on. I discovered a library called locale.h . With it you can w...
asked by 28.11.2015 / 20:42
2
answers

Optimization of several ifs in something more practical

I have a string of alphabetic characters: char string[] = "aouihuiahsudasduihqmdoiqjnduiamsdoqnwuidamodkjwodkaposdj"; I want to go through it and for each character of it, say how many times it repeats itself in string . Example: #i...
asked by 04.07.2017 / 02:07
3
answers

Print a character in place of a number

#include<stdio.h> #include<string.h> int main() { char str[50]; int i, l = 0; printf(" We will count the number of letters\n"); printf("-------------------------------------\n"); printf("Tell me the word: \n");...
asked by 22.12.2016 / 00:16
1
answer

Display only a maximum number of characters

My question, I think, is quite simple, how can I do to display only a maximum number of characters for the user, for example 25 characters + "..." The idea is to limit the characters of these texts, so that the sizes of the div's do not...
asked by 04.08.2017 / 21:34
1
answer

I get different results when I convert from Character to Decimal in PHP and Java

When I convert á to decimal I get the result 225 with this code in Java: public static int charToDec(String text){return (int) text.charAt(0);} When I convert á to decimal I get the result 195 with this code in P...
asked by 29.07.2017 / 23:16
2
answers

How to write a JSP page using characters from other languages?

I'm writing a JSP page that uses Japanese characters and I'm using the get method, but when I switch to the post method it does not work. I already tried using charset = Shift_JIS, but nothing !! JSP page: <%@page contentType="text/html"...
asked by 18.09.2015 / 15:22