tagged [ascii]
How to create ASCII animation in Windows Console application using C#?
How to create ASCII animation in Windows Console application using C#? I would like it to display non-flickery animation like this awesome Linux command; `sl` [http://www.youtube.com/watch?v=9GyMZKWjc...
- Modified
- 27 Apr at 22:10
How to Code Double Quotes via HTML Codes
How to Code Double Quotes via HTML Codes In HTML, What is the preferred way to specify html codes like `"`, and what is the major differences? For example: Which one should I use and would it ever be ...
- Modified
- 19 Jun at 02:58
Strange symbol shows up on website (L SEP)?
Strange symbol shows up on website (L SEP)? I noticed on my website, [http://www.cscc.org.sg/](http://www.cscc.org.sg/), there's this odd symbol that shows up. [](https://i.stack.imgur.com/NR8n9.png) ...
Ascii/Hex convert in bash
Ascii/Hex convert in bash I'm now doing it this way: But it's not exactly behaving as I wanted, the hex form of `Aa` should be `4161`,but the output is `6141 000a`,which seems not making sense. and wh...
Ignoring accents while searching the database using Entity Framework
Ignoring accents while searching the database using Entity Framework I have a database table that contains names with accented characters. Like `ä` and so on. I need to get all records using EF4 from ...
- Modified
- 15 Jun at 12:1
Converting text file from ANSI to ASCII using C#
Converting text file from ANSI to ASCII using C# I have an ANSI-encoded file, and I want to convert the lines I read from the file to ASCII. How do I go about doing this in C#? --- What if i used "Bin...
- Modified
- 22 Feb at 14:38
How to check if a string in Python is in ASCII?
How to check if a string in Python is in ASCII? I want to I check whether a string is in ASCII or not. I am aware of `ord()`, however when I try `ord('é')`, I have `TypeError: ord() expected a charact...
How do I find whether a string has a carriage return by using the String.Contain function using its ascii character?
How do I find whether a string has a carriage return by using the String.Contain function using its ascii character? In C#, how do I find whether a string has a carriage return by using the `String.Co...
How to get a char from an ASCII Character Code in C#
How to get a char from an ASCII Character Code in C# I'm trying to parse a file in C# that has field (string) arrays separated by ASCII character codes 0, 1 and 2 (in Visual Basic 6 you can generate t...
- Modified
- 23 Mar at 00:24
Convert an int to an ascii char c#
Convert an int to an ascii char c# I have an int and I want to display the associate letter. For example, if the int is "1", I want to display "a". I have a variable "word" and I want to add this lett...
Remove all non-ASCII characters from string
Remove all non-ASCII characters from string I have a C# routine that imports data from a CSV file, matches it against a database and then rewrites it to a file. The source file seems to have a few non...
How can I convert extended ascii to a System.String?
How can I convert extended ascii to a System.String? For example: "½" or ASCII DEC 189. When I read the bytes from a text file the byte[] contains the valid value, in this case 189. Converting to Unic...
- Modified
- 20 Mar at 14:28
Remove or Convert ' to (')
Remove or Convert ' to (') I am consuming an api and I noticed that it comes back with `"'s"` and not an apostrophe. Since I am not going to be displaying this text in html this will make my t...
How to write superscript in a string and display using MessageBox.Show()?
How to write superscript in a string and display using MessageBox.Show()? I am trying to output the area using a message box, and it should be displayed as, for example, 256 unit^2... How can I write ...
- Modified
- 23 May at 10:31
Invisible characters - ASCII
Invisible characters - ASCII Are there any characters? I have checked Google for invisible characters and ended up with many answers but I'm not sure about those. Can someone on Stack Overflow tell me...
C# hex to ascii
C# hex to ascii I'm trying to convert a String of hex to ASCII, using this: ``` public void ConvertHex(String hexString) { StringBuilder sb = new StringBuilder(); for (int i = 0; i
Python Unicode Encode Error
Python Unicode Encode Error I'm reading and parsing an Amazon XML file and while the XML file shows a ' , when I try to print it I get the following error: From what I've read online thus far, the err...
How to convert ASCII value into char in C++?
How to convert ASCII value into char in C++? --- Prompt: Randomly generate 5 ascii values from 97 to 122 (the ascii values for all of the alphabet). As you go, determine the letter that corresponds to...
Convert int to ASCII and back in Python
Convert int to ASCII and back in Python I'm working on making a URL shortener for my site, and my current plan (I'm open to suggestions) is to use a node ID to generate the shortened URL. So, in theor...
Finding and removing Non-ASCII characters from an Oracle Varchar2
Finding and removing Non-ASCII characters from an Oracle Varchar2 We are currently migrating one of our oracle databases to UTF8 and we have found a few records that are near the 4000 byte varchar lim...
Convert binary to ASCII and vice versa
Convert binary to ASCII and vice versa Using this code to take a string and convert it to binary: this outputs: Which, if I put it into [this site](http://www.roubaixinteractive.com/PlayGround/Binary_...
Find non-ASCII characters in varchar columns using SQL Server
Find non-ASCII characters in varchar columns using SQL Server How can rows with non-ASCII characters be returned using SQL Server? If you can show how to do it for one column would be great. I am doi...
- Modified
- 14 Jun at 15:39
Python script to convert from UTF-8 to ASCII
Python script to convert from UTF-8 to ASCII I'm trying to write a script in python to convert utf-8 files into ASCII files: ``` #!/usr/bin/env python # *-* coding: iso-8859-1 *-* import sys import os...
- Modified
- 28 Nov at 23:10
Regex accent insensitive?
Regex accent insensitive? I need a in a program. --- I've to capture a name of a file with a specific structure. I used the `\w` char class, but the problem is that this class doesn't match any accent...
- Modified
- 25 Sep at 17:15
How to convert (transliterate) a string from utf8 to ASCII (single byte) in c#?
How to convert (transliterate) a string from utf8 to ASCII (single byte) in c#? I have a string object "with multiple characters and even special characters" I am trying to use objects in order to con...
- Modified
- 17 Jul at 19:41