Questions tagged [special-characters]

Special characters (as they apply to programming) are language-specific reserved characters or symbols used to accomplish a specific task (e.g. wildcard characters, data type indicators, escape characters, etc).

Every character is special in its own way. When talking about "special characters" in a question, be specific. Do you mean ASCII symbols, Japanese kana, or Egyptian hieroglyphs?

For example, when working with Unicode, characters from exotic scripts aren't more "special", technically, than characters from the ASCII range. If you mean characters that you can't enter directly with an US PC keyboard, you should probably use the term "non-ASCII characters" and avoid this tag.

5011 questions
1
vote
2 answers

How to replace all files NAME in A folder with character "_" if the character ASCII encoding is greater than 128 use powershell

The example file name is PO 2171 Cresco REVISED.pdf ..... Many of these files, the file name is not standard, the space position is not fixed. The middle space is characters ASCII code greater than 128, and I want to replace characters ASCII code…
OLDwong
  • 13
  • 3
1
vote
0 answers

How do I allow restricted characters in the URL of a .net core application?

Previously, to allow for encoded special characters to be passed as part of a URL in a .net framework service, I've added this to the web.config file within the system.web node:
handalf
  • 73
  • 1
  • 6
1
vote
0 answers

(Kinda solved) Solr search with special characters

I'm trying to make symbols in searches not relevant. If we see the following field value has a "perr" Token at indexation, as well as the value in query. Why isn't a query like this returning anything? (extra fields remove for brevety)
1
vote
2 answers

How to escape special charcters?

I am using a html purifier package for purifying my rich text from any xss before storing in database. But my rich text allows for Wiris symbols which uses special character as → or  . Problem is the package does not allow me to escape…
Omar Elewa
  • 353
  • 3
  • 14
1
vote
0 answers

JavaScript escape characters, same strings but different representation in browser

I have two strings. One is constant and another comes from firebase firestore. both are the same strings. First one is local string: const str = "3\r\n4 9\r\n2 7 11 15\r\n5 4\r\n2 3 1 15 7\r\n4 31\r\n16 1 15 7"; And another is string…
1
vote
2 answers

Escaping % sign in subquery

I have a query in mySQL that's meant to return search terms that are used on our site. Yes, this is for a tag cloud, and yes, I know it's a mullet :) We've got an admin page where administrators can view search terms and choose to exclude them from…
charliegriefer
  • 3,342
  • 1
  • 18
  • 20
1
vote
1 answer

How to drop pandas dataframe columns containing special characters

How do I drop pandas dataframe columns that contains special characters such as @ / ] [ } { - _ etc.? For example I have the following dataframe (called df): I need to drop the columns Name and Matchkey becasue they contain some special…
Giampaolo Levorato
  • 1,055
  • 1
  • 8
  • 22
1
vote
2 answers

french accents giving "" in http responses with correct charset (Java)

Calling an API that returns french sentences, all the accented characters are displayed like in my java code, even if the charset is well defined (application/json;charset=iso-8859-1). Using postman or my web browser, I don't face any problem. I…
Redouane B.
  • 93
  • 10
1
vote
1 answer

How to parse an XML file containing special characters

I am trying to parse XML files that contain special characters as &, ", ', < or > in the data. I would like to know how to do it properly. NB: the files are quite huge and I do not have the hand on them to modify them. So I am looking for an…
1
vote
0 answers

php csv file with special char through Ajax

In my project I take the file from an html file input (in a modal), then I pass it with ajax to php and with the $_FILE super variable I get his content: The modal
m.Sarto
  • 179
  • 3
  • 16
1
vote
3 answers

Getting a password checker to recognize special characters in Python

I'm struggling to get my password checker to recognize my special characters as true when they are inputted, any help would be appreciated! import re def password_cri(): while True: password = input("Please enter your password:") …
Jogoogoly
  • 11
  • 3
1
vote
1 answer

Is there a way to display ampersand ("&") inside a windows form MetroComboBox (C#)?

I created a form within the Metro Framework in which I have a MetroComboBox made of strings which are taken from a list. Each time the user selects an option from the defined MetroComboBox, the selected string is the printed in a textbox. I have the…
lizzi
  • 13
  • 2
1
vote
2 answers

markdown how to anchor link special characters like ä ö ü

description I want to link some titles in Markdown. It works good except when I link a German word like "Systemüberwachung" or "ähnliches". I think this is not working because of the "ü" and "ä". I already tried to link like this:…
1
vote
1 answer

StreamReader C# does not read å, ä, ö

I have a StreamReader reading a file like below for reading a .csv file: using (StreamReader sr = new StreamReader(filePath, System.Text.Encoding.GetEncoding("iso-8859-1"))) { string line = string.Empty; line = sr.ReadLine() } The first…
KGB91
  • 630
  • 2
  • 6
  • 24
1
vote
0 answers

python - parse email - special characters

I could use some help reading email with special characters in it and outputting that email with the characters. So far I have witnessed email come in with the character sets: "UTF-8", "windows-1252", "ISO-8859-1" I have seen ‘hey’ represented as…
1 2 3
99
100