Questions tagged [apostrophe]

The single-quote character (')

499 questions
2
votes
1 answer

Frontend pages giving 404 with symfony and apostrophe

I thinks this question might be on the edge of having to go on serverfault. However, as I'm not sure about the cause of the problem, I'll ask the question here. I Have a Symfony installation with 2 apps: frontend and backend On the frontend I run…
Thomas K
  • 6,076
  • 5
  • 39
  • 56
2
votes
1 answer

don't want xslt intepret the entity characters

The xml was like this: < cell i='0' j='0' vi='0' parity='Odd' subType='-1'> & #34;String& #39; But after the intepretion of the xsl, the output is like this: < td nowrap="true" class="gridCell" i="0" j="0">"String'< /td> I would like to…
Jamie
  • 85
  • 1
  • 8
2
votes
3 answers

Oracle SQL add apostrophes

Is there a way to deal with apostrophes/multiples quotes in a SQL oracle string? I tried with listagg but only able to add the commas but not the apostrophes/multiples quotes. The goal is to add the users in another SQL Table -> IN Operator Example:…
James
  • 132
  • 12
2
votes
1 answer

Apostrophe at beginning/end of search string not treated as part of a word by RegEx

We run a dictionary and have run into a problem with searches that contain an apostrophe at the start of a search string. In English words like 'twas are quite rare but in the language we're dealing with, ' is considered a word character and…
akerbeltz
  • 21
  • 3
2
votes
2 answers

Apostrophe CMS: Engine Creation

I'm attempting to create a Product Engine for Apostrophe. I'm having trouble extending the Page Settings form, at the moment I want to add a simple textarea to add a synopsis to the page - eventually I want to add Product settings but I need to get…
Peter Hough
  • 560
  • 4
  • 17
2
votes
4 answers

Why string with single quotes raises error when inserted in DB?

My question is: How do you allow single quotes in strings? For example, I have a form, and a text box. It is set up to allow the user to enter their name. From there, it posts and feeds the data into a database. I need to be able to allow single…
drewrockshard
  • 2,043
  • 10
  • 35
  • 47
2
votes
1 answer

Unable to Delete Printer w/ Apostrophe (') Using PRNMNGR

I have a printer named "Teacher's Lounge Printer" (note the apostrophe). When executing the following command at a standard Windows 7 Command Prompt, "Error 0x8004103A Invalid object path" occurs. cscript…
2
votes
1 answer

R annotate greek letter with apostrophe and text

I am trying to annotate text in a ggplot2 plot combining greek letter with apostrophe and text. Till now I am not able to achieve the probem. For now, I can write the following label, combining annotate and geom_text, here is the…
Raül Oo
  • 57
  • 8
2
votes
1 answer

Apostrophe in email address causes SmtpException

Our business application serves many organisations and some of those have apostrophes in their email address (local part) which is technically valid. However, I cannot send out emails if the FROM or TO email address contains an apostrophe in them…
Chris Walsh
  • 3,423
  • 2
  • 42
  • 62
2
votes
3 answers

MySQL real escape string

I was trying to sanitize inputs to my PHP login using addslashes and mysql_real_escape_string. Using addslashes works, but mysql_real_escape_string will not. Here's an example of what allows me to log in correctly: $user =…
2
votes
2 answers

SQL query to search for records containing an apostrophe (')

I'm ingesting data into IBM MDM and we are finding source records with row key's containing an apostrophe (') which MDM cannot accept and therefore rejects the records. I want to query the source records to count how many records are affected, but…
Nadeem Ayoob
  • 45
  • 1
  • 7
2
votes
1 answer

replace apostrophe ' in the middle of the word with \' in java

I have an XPath //*[@title='ab'cd'] and I want to output it as //*[@title='ab\'cd'] I am using this code property = property.replaceAll("^[a-zA-Z]+(?:'[a-zA-Z]+)*", "\'"); but it is outputting //*[@text='ab'cd'] I couldn't find a similar…
vaibhavcool20
  • 861
  • 3
  • 11
  • 28
2
votes
1 answer

Apostrophes in SQL selecting the whole table

I had this weird bug in my company's code from an SQL sentence, that was basically updating all the rows from a table when what we wanted was just to update a single one. The code was the following. UPDATE table SET 'disconnections'=value WHERE…
jcasado94
  • 185
  • 1
  • 1
  • 7
2
votes
2 answers

Cmd to powershell replace - special character

I am creating a script that will copy a file, rename it and then look inside to remove certain special characters. One of these special characters is some sort of ASCII apostrophe that I cannot replicate with keys. I can copy and paste it though,…
meeilz
  • 23
  • 1
  • 4
2
votes
1 answer

Select xml node by xpath with attribute value containing apostroph

I'm trying to extract some data from a given XML file. Therefore, I have to select some specific nodes by their attribute values. My XML looks like this: ....
monchi
  • 310
  • 3
  • 12