Character Encoding Issue - Strange Behaviour From Pound Signs (£) with UTF-8 IE6 / ASP / XML

Character Encoding Issue - Strange Behaviour From Pound Signs (£) with UTF-8 IE6 / ASP / XML

I am having a very strange problem with pound signs displaying incorrectly (or not at all) on a web page.I am keying text in a textbox, which then gets (briefly) stored in XML before being displayed in a new IE(6) window.The worst part is t

Connecting Windows Driver to Userland Service

Connecting Windows Driver to Userland Service

How do I communicate with a driver from the userland in Windows? (Vista if that makes a difference.) Can I, and how, communicate with the service from the driver site? I am actually not very lazy and should probably get my boss to buy me a

Can Greasemonkey fetch values from a paginated sequence of URL's?

Can Greasemonkey fetch values from a paginated sequence of URL's?

I would like to fetch a value from https://play.google.com/store/account*, which makes the user page through its output. For example:/store/account?start=0&num=40, then /store/account?start=40&num=40, etc.Now, when I visit https://play.goog

How to render multiple .ejs files in nested form in Node.js and Express?

How to render multiple .ejs files in nested form in Node.js and Express?

How can I render multiple .ejs files in a nested form?So I have the following file:var mysql = require('mysql');var ejs = require('ejs');exports.index = function(req, res){ if (req.method=='POST'){ var connection = mysql.createCon

How to use HttpWebRequest.Credentials Property for Basic Authentication?

How to use HttpWebRequest.Credentials Property for Basic Authentication?

How can I use the Webrequest Credentials Property to send an basic authentication header?Why isn't the Authorization header send with the request even whenPreAuthenticate is set to true?WebRequest request = (HttpWebRequest)WebRequest.Create

PHP Equivalent of Master page in ASP.NET

PHP Equivalent of Master page in ASP.NET

Is there any way to achieve the master page concept of ASP.NET in PHP? 1:You could use a template engine like Smarty: Although Smarty is known as a "Template Engine", it would be more accurately described as a "Template/Presentation

Why jsp files inside WEB-INF folder works , but placed under a folder under WEB-INF doesn't?

Why jsp files inside WEB-INF folder works , but placed under a folder under WEB-INF doesn't?

When my jsp files are inside WEB-INF folder (as /WEB-INF/file.jsp) , I can access them from localhost: 8080/ProjectCtxtRoot/, but I can't access them, if they are placed in /WEB-INF/jsp/file.jsp?I changed the path in welcome-list tag in web

How to create a custom lock screen widget (I just want to display a button)

How to create a custom lock screen widget (I just want to display a button)

I need to allow users to quickly capture an image using my app when the device is locked. I figure the quickest way for a user to do this is via a button/widget on the lock screen - although I'm not sure how to build this.Most references I

How to map IDictionary in Fluent NHibernate

How to map IDictionary in Fluent NHibernate

Possible Duplicate: Use Component as IDictionary index in AsMap in Fluent Nhibernate Hi,I have an class with an IDictionary on it. as you can see it uses a many-to-many to get the CodedExamples from their table us

running Apache + Bottle + Python

running Apache + Bottle + Python

Ok so i'm trying to run Python with Bottle.py, thru Apache and mod_wsgi, and it doesn't work so far...I'm running it on windows, using a xampp. python v2.7the code i added to httpd(Apache config): ServerName example.com WSGIScriptAlia

Sending an email with attachments programmatically on Android

Sending an email with attachments programmatically on Android

I wish to implement a button that upon pressing it will open the default email client with an attachment file.I am following this, but am getting an error message on the startActivity, saying it is expecting an activity param while I am giv

Placeholder background/image while waiting for full image to load?

Placeholder background/image while waiting for full image to load?

I have a few images on my page. I'm finding that the page starts to render before the images have been loading (which is good), but that the visual effect is not great. Initially the user sees this: --------hr-------- textThen a few millise

How can I tell if a C# method is async/await via reflection?

How can I tell if a C# method is async/await via reflection?

e.g.class Foo { public async Task Bar() { await Task.Delay(500); } }If we are reflecting over this class and method, how can I determine if this is an actual async/await method rather than simply a method that happens to return a Task?class

How to handle “100 continue” HTTP message?

How to handle “100 continue” HTTP message?

I'm writing a simplistic HTTP server that will accept PUT requests mostly from cURL as client and I'm having a bit of an issue with handling the Expect: 100-continue header.As I understand it, the server is supposed to read the header, send

How to output html through AngularJS template?

How to output html through AngularJS template?

{{ revision.title }}The title outputs fine, but the content - doesn't. It's got some html in it and I get the following error: Attempting to use an unsafe value in a safe context. which is being described as so: http://docs.angularjs.org/er

Android Turn on/off Camera Flash Programatically with Camera2

Android Turn on/off Camera Flash Programatically with Camera2

I am making a simple application that acts as a flashlight. I need to be able to turn on and off the flash from a button in the application with the Camera2 API, as I get errors with the old camera API. I would like to use a "torch" flash

How to implement communication between Java client application (Android) and PHP server application?

How to implement communication between Java client application (Android) and PHP server application?

I have a simple Java client application (Android app). I have to write a PHP server application which receives a request from the Java client application to write some data to a MySQL database or read some data from the MySQL database. It s

CSS triangle containing text

CSS triangle containing text

I have a weird problem at hand and I am struggling to find a solution.I have created a triangle "container" using only CSS but what I would like now is to insert some text inside the container.The solution I am aiming for has to contain th

ScrollOffset in UIWebView?

ScrollOffset in UIWebView?

I'm having a really hard time understanding delegates and object inheritance (if I may use this word) and I think I need a simple (or so I think) thing: catch scrollViewDidScroll event in UIWebView and get offset (basically, just to know if

Setup Yii2 Advanced on Heroku

Setup Yii2 Advanced on Heroku

I am needing some help setting up a Yii2 Advanced Application on Heroku. I have already installed Yii locally using Composer, following their guide exactly: http://www.yiiframework.com/doc-2.0/guide-tutorial-advanced-app.htmlMy website work

How to stop knockout.js bindings evaluating on child elements

How to stop knockout.js bindings evaluating on child elements

Using knockout, when you call ko.applyBinding(viewModel, "divId") it does a recursive binding down through the children of the element you bound to ("divId"). I would like to stop this evaluation at a child node. Is there a way to do this?t

What is the best way to do Java development in Emacs?

What is the best way to do Java development in Emacs?

What modes are the best?And any tips or tricks that make developing java in emacs a bit better. 1:For anything else than casual Java editing, many people recommend the Java Development Environment for Emacs. 2:Eclim is a project that

What does 'Language Construct' mean?

What does 'Language Construct' mean?

I am learning C from 'Programming in C' by Stephen Kochan. Though the author is careful from the beginning only not to confuse the students with jargon, but occasionally he has used few terms without explaining their meaning. I have figured

Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0

Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0

We are currently migrating all our solutions from 2005 to 2010 (that's right, we're skipping 2008!). We are also changing our file structure to make some more sense (some common projects would be nested within specific projects etc etc).Thi

Text/Layout Alignment in Android (textAlignment, gravity)

Text/Layout Alignment in Android (textAlignment, gravity)

What's the difference between android:textAlignment and android:gravity? 1:All I can see is that the textAlignment is a member of the View Class and the gravity is the member of TextView class. So for the TextView and its subclasses you