Skip to main content
12 events
when toggle format what by license comment
Feb 1, 2016 at 9:35 comment added Shameerariff #include <stdio.h> #include <stdlib.h> #include <string.h> int main (int argc, char *argv[]) { FILE *fr; char ch; fr=fopen(argv[1],"rb"); if(fr!=NULL) { while((ch = fgetc(fr)) != EOF) { printf("\t%c hex value is %d\n",ch,ch); } } fclose(fr); return 0; } and the input file with the following data € ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ Ž ‘ ’ “ ” • – — ˜ ™ š › œ ž Ÿ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
Feb 1, 2016 at 9:23 comment added Shameerariff I got your point, The non printable character is something which cannot be printed by terminal ie tty. if you try to print the ascii characters of the hex above 127 you will not get it, instead you will find a couple of characters. For your reference I will write a simple code in c and try the same
Feb 1, 2016 at 9:19 comment added Martin Smith You Keep Using That Word, I Do Not Think It Means What You Think It Means - Non printable characters are things like white space and control characters that literally do not show up when you print them.
Feb 1, 2016 at 9:16 comment added Shameerariff @MartinSmith Generally the binary values exceeding 7 bits are non printable apart from the regular one like delm null etc, but when comes to £ the hex value is a3 ie 1010 0011 here the 8th bit is 1. So it is not printable for reference you can check the site en.wikipedia.org/wiki/ASCII#Variants
Feb 1, 2016 at 7:59 comment added Martin Smith @Shameerariff - And in your link £ doesn't appear anywhere in the table of non printable ASCII characters. It appears in the extended ASCII characters. And what relevance does this have anyway? Java strings are natively UTF-16.
Feb 1, 2016 at 3:54 comment added Shameerariff @MartinSmith Kindly check this web.itu.edu.tr/~sgunduz/courses/mikroisl/ascii.html for list of non printable and characters and check this stackoverflow link stackoverflow.com/questions/15836744/… to know more about it.
Jan 31, 2016 at 16:41 comment added Martin Smith Where do you get the idea that £ is a non printable character? The fact that we can read it shows it isn't. And "This is because the password encryption was developed in c or in Java in core level to maintain the high level of security" just sounds like nonsense.
Jan 31, 2016 at 11:42 comment added Shameerariff Then in order avoid mysql injection and other related issues as said by @john detters
Jan 31, 2016 at 10:03 comment added iProgram The same issue happened with all symbols. Even @
Jan 31, 2016 at 8:15 history edited Shameerariff CC BY-SA 3.0
Adding printable ASCII reference
Jan 31, 2016 at 8:12 review First posts
Jan 31, 2016 at 8:39
Jan 31, 2016 at 8:09 history answered Shameerariff CC BY-SA 3.0