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...

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 ...

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) ...

9 Jan at 19:24

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...

20 Apr at 02:0

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 ...

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...

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...

1 Dec at 21:36

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...

14 Jul at 07:32

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...

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...

1 Jan at 13:30

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...

5 May at 12:34

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...

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...

17 Jun at 23:12

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 ...

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...

12 May at 21:14

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

27 Mar at 13:29

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...

27 Apr at 04:17

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...

12 Jul at 04:33

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...

26 Jan at 17:42

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...

6 Oct at 14:13

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_...

23 May at 15:0

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...

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...

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...

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...