When user enters from php page to mysql it makes wierd characters like Pyr«±n«±es, ????? etc, when typing ' æøå éá etc.  I have tried anything now.   PHP files is saved as UTF8 without bom. Altered all tables, database and converted to UTF8 HTML META charset utf8 Form has "accept-charset="utf-8" Right after connection: mysql_query SET NAMES UTF8 PHP Header with charset: utf-8   What to do? When it's going to database it makes those annoying characters.  Please help me.
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.
I enjoy going fast and my current bicycle tops too early, what kind of upgrades would I need to make to achieve a taller final gear? Why do statisticians say a non-significant result means "you can't reject the null" as opposed to accepting the null hypothesis? Traditional statistical tests, like the two sample t-test, focus on trying to eliminate the hypothesis that there is no difference between a function of two independent samples. Then, we choose a confidence level and say that if the difference of means is beyond the 95% level, we can reject the null hypothesis. If not, we "can't reject the null hypothesis". This seems to imply that we can't accept it either. Does it mean we're not sure if the null hypothesis is true?   Now, I want to design a test where my hypothesis is that a function of two samples is the same (which is the opposite of traditional statistics tests where the hypothesis is that the two samples are different). So, my null hypothesis becomes that the two samples are different. How should I design such a test? Will it be as simple as saying that if the p-value is lesser than 5% we can accept the hypothesis that there is no significant difference? There are several spells that require the target to be "humanoid" such as , , etc.  However, if the target is Polymorphed after that spell has been successful, then what happens?  Does the change in form to Beast end the spell effects? Does it suppress the spell until the correct form returns? Does it do something else? How to make a Copper/Rose Gold smudge material? Soundness of a rule of a proof system with respect to the truth tables? I have the following question: "Explain the concept of the soundness of a rule of a proof system with respect to the truth tables"  Would it be correct to state the following:  "A rule of a proof system is sound with respect to the truth tables iff the conditions of the rules (requirements of the rule) ensure that the final formula will behave according to it's intended truth table."?  This is a question in a practice exam, and I can not find a specific mentioning so far, by scanning Google and Proof Wiki.  What would the correct answer be?  Thank you. How to configure Micromax 352g USB Modem? I want the driver software for my Micromax 352g USB modem for Ubuntu 12.04 LTS. On Ubuntu 10.04 sakis3g was working well, but it is not working on Ubuntu 12.04 LTS. Can I put \fbox along the diagonal so that they touch each other? Why $e^x$ is always greater than $x^e$? I find it very strange that $$ e^x \geq x^e \, \quad \forall x \in \mathbb{R}^+.$$   I have scratched my head for a long time, but could not find any logical reason. Can anybody explain what is the reason behind the above inequality? I know this is math community, but I'd appreciate a more intuitive explanation than a technical one. $\displaystyle \int\nolimits_0^8 \sqrt{x^4+4x^2}\,dx$.   Alright, so I thought I had this figured out. Here's what I did:   I factor out an $x^2$ to get $\sqrt{x^2(x^2+4)}$. I let $x = 2\tan(\theta)$, therefore the integrand is $\sqrt{4\tan^2(\theta)  (4\tan^2(\theta) + 4)}$. Factor out a 4 and it becomes $\sqrt{(16\tan^2(\theta)  (\tan^2(\theta) + 1))}$ Which equals $\sqrt{16\tan^2(\theta) \sec^2(\theta)}$ This is easy to take the sqrt of. The integrand becomes $4\tan(\theta)\sec(\theta)$. Now, the integral of this is $4\sec(\theta)$ And it's evaluated from $0$ to $\arctan(4)$ right? Because as $x$ goes to $0$, so does $\theta$, and as $x$ goes to $8$, $\theta$ goes to $\arctan(4)$... But the end result $(4 (\sec(\arctan(4)) - 1) )$ isn't the correct answer   I put it into WolframAlpha and I get $(8/3) (17\sqrt{17} - 1)$, which is the right answer. How did they get that? (there's no "show steps" option)  Any help is greatly appreciated!  PS, what's the syntax for doing sqrts and exponentials? Backup whole OS Rigorously proving equal tension on both ends There is always one point in introductory mechanics that has been continuously bothering me ever since I had taken my freshman physics course - Why does a massless rope have its tension equal on both ends?  I have been searching for a good explanation on various textbooks at different levels, but none of them provided me a satisfactory explanation. They either   State directly "we assume the string is massless and the pulley has no friction, therefore the tension must be the same throughout the string" without further any elaboration and continue the calculation, Claim without any reasons that "whenever the rope and the pulley are massless and frictionless, the tension will be the same on both sides", or Explain using a lot of hand-waving arguments regarding infinite acceleration, non-zero moment of inertia, etc. , in one line or two.   Although those hand-waving arguments of type $(3)$ do sound quite reasonable to me and will convince me for a while every time I review them. But after a while, I will start feeling not well about this whole tension concept again.  Therefore, I am looking for a rigorous (in the physicist's sense) proof of exactly why and when do the tension in rope will be uniform, and hopefully from that I can clean up all of my conceptual difficulties. What command do I use to make everyone spawn at one place? because I am making a map and I don't know how to make everyone spawn at one place, the rule place. What, exactly, is transferred along supply lines? Area of intersection between two circles Suppose you have 2 circles that intersect each other in such a way that each circle passes through the other's center. What is the area between the circle(or common area) i.e. area between the centres of the circles? User suggested great corrective edit to my answer, but the edit was rejected. What can I do to approve it? A nice user suggested  to . The edit, though very good and desirable, was rejected. I do not understand the reasons, and I did not find a way to contact those people who rejected it. What can I do to re-approve the edit? Polymorphism vs Overriding vs Overloading In terms of Java, when someone asks:      what is polymorphism?   Would overloading or overriding be an acceptable answer?  I think there is a bit more to it than that.   IF you had a abstract base class that defined a method with no implementation, and you defined that method in the sub class, is that still overridding?  I think overloading is not the right answer for sure. Mismatch Reputation in the thumbnail and the actual Reputation Actually this was quite surprising. A casual troll in the Users Page revealed few users with negative vote. One example is here    Then trying to see what could have causes such a low reputation, I peeked inside the Profile Page of this particular User and was surprised to see a decent positive score.    Can someone explain to me how this can be possible? How do I install drivers for an Intel HD Graphics? In System Info in 11.10, the graphics driver wasn't detected. I use ACER Aspire 4750 with Intel Core i3-2340M and Intel HD Graphics 3000 graphic card  How to install the driver for my Ubuntu? Is there any SE Site where Questions related to Hacking are on-topic? Why did the texture I painted in texture paint mode disappear?