questionmark

XSLT encoding problem, questionmarks in result

I'm trying to run an XSLT transformation, but characters like ëöï are replaced by a literal '?' in the output (I checked with an hex editor). The source file has the correct characters, and the stylesheet has: <xsl:output encoding="UTF-8" indent="yes" method="xml"/> What else am I missing? I'm using saxon as the transformer, if that ...

how to use urlencode to handle two question marks in url in php

Hello everyone, I appreciate for your time. I have searched a lot and tried to understand and use urlencode, but the problem can't be solved. The code is: <?php print 'index.php/?page=search?query='.quote_replace(addmarks($search_results['did_you_mean'])).'&search=1'?>. Thanks a lot for your help. ...

What does the ? mean after a type?

Possible Duplicate: a curious c# syntax So I've seen some code around and a few of them use a ? after the type, like this: private Point? loc = null; So I'm wondering if Point? is different than Point (can't put a question mark at the end of my sentence or I'll confuse you guys ... :] ). The language I'm using is C# by the wa...

What is the name of the question mark in my URL?

http://example.com/foo.aspx?foo=bar I'm refactoring and need to name the constant which will hold only the question mark character of this string. I'm not sure what best to name the variable, as I've never known what the proper name of that question mark was. What should I name the constant? Or... is there something in .NET that's th...

Sqlite: How to insert variable into string in prepared statement

I'm using a Java wrapper for accessing Sqlite but I assume this is a general Sqlite question. String stmt = "SELECT foo FROM bah WHERE foo='%/?/%'; PreparedStatement a = myConn.prepareStatement(stmt); a.setString(1, "hello"); a.executeQuery(); ... throws an exception - it doesn't like the ? being inside quotes. Everything is fine if ...

Question mark in regular expressions in Javascript (weird behaviour).

<html><body><script> var matches = /(\w+)(\s*(\w+))?/.exec("aaa"); alert(matches.length); alert(typeof(matches[3])); </script></body><html> I'm really new to regular expressions, so this may be a very easy question. The regular expression above /(\w+)(\s*(\w+))?/ matches patterns like "aaa", "123", "my_var" or "aaa bbb", "123 456", "m...

How to avoid ODBC parameterization for the question mark character ? within literals and comments?

I'm running into an issue where I have question mark characters '?' within my SQL scripts inside comments is causing problems. When I run these statements through an ODBC connection using the Visual FoxPro SQLEXEC function these characters are being seen as parameters and VFP prompts for values. What are my options for dealing with ques...

What does "?", used after JavaScript filename, means?

For example, having: <script type="text/javascript" src="http://somedomain.com/js/somejs.js?14"&gt; </script> So what does "?14" means here? ...