I have small musician database , but trouble with umlauts. Trying to create google charts from data. This is I've done.  CREATE TABLE `musicians` ( `m_id` INT(15) NOT NULL, `surname` VARCHAR(25) NULL DEFAULT NULL, `firstname` VARCHAR(25) NULL DEFAULT NULL, `fullname` VARCHAR(25) NOT NULL, `dob` DATE NULL DEFAULT NULL, `nationality` VARCHAR(25) NULL DEFAULT NULL, PRIMARY KEY (`m_id`) ) COLLATE='latin1_swedish_ci' ENGINE=InnoDB;  INSERT INTO `musicians` (`m_id`, `surname`, `firstname`,`nationality`) VALUES (1, 'Svenson', 'Sven','Sweden'), (2, 'Johnson', 'John', 'England'), (3, 'Jääskeläinen', 'Jaske','Finland');   website outputs  for name with umlauts are with question marks. The main problem are with google charts - names with ulmauts are returning empty lines. What I am doing wrong.  utf8_unicode_ci - no changes utf8_bin -no changes
I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
How to select all faces with the same material? resizable serial console window? What is a Windows Handle? PHP/MYSQL login error? A Hilbert space is, by definition, a complete inner product space. If $(V,|.|)$ is finite dimensional inner product space of dimension $n$ then it is (topologically) isomorphic to $\mathbb{R}^n$ which is of course complete. My instinct here is to say "and therefore, $V$ is also a Hilbert space". I'm not sure about this step however since completeness depends on the norm and the norm depends on the selected inner product (assuming the induced norm $||x|| = (x | x)^{1/2}$ is used). So, must we place some condition on the inner product or is the topological isomorphism between $\mathbb{R}^n$ enough to guarantee that V is Hilbert? Ideals in ring of continuous functions $\mathcal{C}[0,1]$ ... NBHM- Algebra I would like to compile all questions I have encountered with Ideals in the ring $\mathcal{C}[0,1]$ of all continuous real valued functions and ask if there are any gaps.  Question is to see if :     the ideal $\mathcal{I}=\{f\in \mathcal{C}[0,1] : f(0)=0\}$ is maximal ideal in the ring $\mathcal{C}[0,1]$ of all continuous real valued functions.   What I have done so far is :  consider $\eta :\mathcal{C}[0,1]\rightarrow \mathbb{R}$ where $f\rightarrow f(0)$   $Ker (\eta) = \{ f\in \mathcal{C}[0,1] : f(0)=0\}$  I could see that for each $r\in \mathbb{R}$, I would set $f$ such that $f(x)=x+r$  So, $\eta$ is surjective.  So, I would get $\mathcal{C}[0,1]/\mathcal{I}\cong \mathbb{R}$  As $\mathbb{R}$ is a field so ia the quotient $\mathcal{C}[0,1]/\mathcal{I}$ which means that $\mathcal{I}$ is an ideal in $\mathcal{C}[0,1]$.    Now Another Question on same idea :  Question is to see if :     the ideal $\mathcal{I}=\{f\in \mathcal{C}[0,1] : f(0)=f(1)=0\}$ is maximal ideal in the ring $\mathcal{C}[0,1]$ of all continuous real valued functions.   I thought of using same ideas as above but i am unable to choose perfect $\eta$  I believe that this is not even a prime ideal..  I set  $f(x)=x$ and $g(x)=x-1$ and consider $f(x)g(x)=(x)(x-1)$ then,   $(fg)(0)=f(0)g(0)=0.(-1)=0$   $(fg)(1)=f(1)g(1)=1.0=0$  So, $fg\in \mathcal{I}=\{f\in \mathcal{C}[0,1] : f(0)=f(1)=0\}$ but the neither $f$ nor $g$ is in $\mathcal{I}$.    I have two questions:   I see that $0$ does not play any role in the question $\mathcal{I}=\{f\in \mathcal{C}[0,1] : f(0)=0\}$ I mean I would have same case if i replace $0$ by any real number.  So, I would like to say that $$\mathcal{I}=\{f\in \mathcal{C}[0,1] : f(r)=0\}$$  is a maximal ideal in the ring $\mathcal{C}[0,1]$ of all continuous real valued functions.  And one more thing I would claim is that      If the collection $\mathcal{I}$ is such that all elements of $\mathcal{I}$ has more than $1$ common zero then $\mathcal{I}$ is not a maximal ideal and not even a prime ideal..   I would like to learn more about this kind of ideals in $\mathcal{C}[0,1]$.  I would be thankful if some one can assure that what  have done is sufficient to conlcude what i have concluded and I would be thankful if some one can suggest some material to read regarding this.  Thank you How could I select one vertex from my mesh if I know ID of that vertex? I enabled bpy.app.debug = True and I can see all IDs but cant find a specific one. Code breaks when updating jQuery due to changes in toggle We have two PHP5 objects and would like to merge the content of one into the second. There are no notion of subclasses between them so the solutions described in the following topic cannot apply.    //We have this: $objectA-&gt;a; $objectA-&gt;b; $objectB-&gt;c; $objectB-&gt;d;  //We want the easiest way to get: $objectC-&gt;a; $objectC-&gt;b; $objectC-&gt;c; $objectC-&gt;d;   Remarks:   These are objects, not classes. The objects contain quite a lot of fields so a foreach would be quite slow. So far we consider transforming objects A and B into arrays then merging them using array_merge() before re-transforming into an object but we can't say we are proud if this. If $a,b,c$ are positive , show that $$\dfrac{b^2+c^2}{b+c}+\dfrac{c^2+a^2}{c+a}+\dfrac{a^2+b^2}{a+b} \ge a+b+c$$  Trial: Here  I proceed in this way $$\dfrac{b^2+c^2}{b+c}+\dfrac{c^2+a^2}{c+a}+\dfrac{a^2+b^2}{a+b} \ge  \dfrac{2bc}{b+c}+\dfrac{2ca}{c+a}+\dfrac{2ab}{a+b}$$ then how I proceed. Please help. How to check if list item already exist when adding it with how to check Title( Country) if exists in the list. if exists it is necessary to do the update if not it is necessary to add it ?  function AddListItem() {      var listTitle = "Test";     //Get the current client context       context = SP.ClientContext.get_current();     var airportList = context.get_web().get_lists().getByTitle(listTitle);          //Create a new record       var listItemCreationInformation = new SP.ListItemCreationInformation();     var listItem = airportList.addItem(listItemCreationInformation);      //Set the values      var country= $("#Country").val();     var client= $("#Client").val();     // var nb1 = $("#nb1").val();      // var nb2 = $("#nb2").val();       // var nb3 = $("#nb3").val();      // var nb4 = $("#nb4").val();       // // var nb5 = $("#nb5").val();        listItem.set_item('Country', Country);     listItem.set_item('Client', Client);     listItem.update();     context.load(listItem);     context.executeQueryAsync(AddListItemSucceeded, AddListItemFailed); } function AddListItemSucceeded() { } function AddListItemFailed(sender, args) {     alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace()); } I've bunch of folders in folder A. I want to move files from all those folders to A.  Or  I want to cut all files from child folders and paste them in parent folder.  How to do that? I would like to get an alert (with sound) when my laptop battery is fully charged.  How can I do that? How to test apex classes with Pagereference? I'm struggling to test a class with pagereference. Following is the class...  public with sharing class redirectOrderPartner{  public String currentRecordId {get;set;} public orders__c orderId {get;set;}  public redirectOrderPartner(ApexPages.StandardController controller) {      }     Public Pagereference go(){      currentRecordId  = ApexPages.CurrentPage().getparameters().get('orderid');      system.debug('---currentRecordId  ---'+currentRecordId  );     orderId = [select id from orders__c where name =: currentRecordId limit 1];      system.debug('---orderid---'+orderId);      PageReference pageRef = new PageReference('/apex/OrderTrackingClass?id='+orderId.id);     pageRef.setRedirect(true);     return pageRef;    }   }   Following is what I tried....    @isTest  public class redirectOrderPartner_TEST  {             static testMethod void Test(){            Account acc = new Account(Name='ABC Corp.');           insert acc;            orders__c tempOrder = new orders__c(name = '0001234567', account__c = acc.id );           insert tempOrder;            Test.startTest();            PageReference pageRef = Page.redirectOrderPartner;           Test.setCurrentPage(pageRef);            ApexPages.Standardcontroller sc = new ApexPages.Standardcontroller(tempOrder);           ApexPages.currentPage().getParameters().put('Id',tempOrder.name);           PW_redirectOrderPartner ec = new redirectOrderPartner(sc);           ec.go();                                   Test.stopTest();       }   } I get the following error message on testing..     System.QueryException: List has no rows for assignment to SObject   What am I missing? Thanks Random number generator only generating one random number Why does the review system disable the "First Posts" and "Late Answers" if I reached daily upvote limit? I was reviewing on , and I faced a weird thing. I can review "Close Votes", "Low Quality Posts", and "Suggested Edits" if I reached my daily vote limit, but I can't for "First Posts" and "Late Answers". Why?    If they just deserve an upvote/downvote then they should not include in the review system. But if we can improve them through leaving comments and by editing the posts then why can't we access them? Elliptical orbits of planets As we know, the velocity of the planet changes as it orbits around the sun, both in its magnitude and direction. The centripetal acceleration causes the change in the direction of velocity but I want to know what is the tangential force that acts on the planet to change the velocity by its $magnitude$. The answer normally as to why the speed changes is: If  the  force  that  the  Sun  exerts  on  the  planet increases  (as  the  planet moves closer),  then  the acceleration   of  the  planet must  increase,  resulting  in a  higher  orbital  speed,  and vice  versa. But this force is not along the body but towards the sun. So such a force should only change its direction. I can't run Cisco packet tracer 7.1 on Ubuntu I have downloaded and extracted the packet tracer file, then I used this command as root  chmod +x install   then I ran (as root)  ./install    Then I used this command   ./set_ptenv.sh   but whenever I run this command   packettracer    it just doesn't start My colleague and I were discussing about certain types of customers in the IT industry. You have to work extremely hard to convince them so that they think about opening their wallets .  However, they should not be mistaken to be stingy (carries a negative connotation). Cost-conscious is a closely related term but is a bit wordy. Another word that I considered is shrewd but I don't know if it fits my context well.  Usage Sentence:     Nowadays, IT customers are becoming increasingly ________. They demand more for less and probably think a zillion times before reaching for their pockets. If they are not convinced 100%, they simply won't open their wallets.    Is there is a noun or an adjective to describe such people? I am also open to using idioms, if there is one that conveys the intentions well.  N.B:  I am looking for words with neutral to positive connotations. If $p$ and $q$ are distinct primes such that $p|c$ and $q|c$, prove that $pq|c$