When I insert an accented letter as "è à ù" the function does not work, it does not return anything, why?  $test = "è ò ù"; echo htmlspecialchars($test, ENT_QUOTES, 'UTF-8');
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 know the usage of undocumented function like LinearAlgebra`BLAS? I have this problem.  I need to do some administrative tasks on a MS SQL Database using SA account.   OS authentication is not set. SQL Server Manager Manager Studio is not installed. I have no other admin database account. I do have access to a Windows admin account The only tools installed on the database server are as shown:     How can I activate OS authentication so I can log into the database an reset the SA password ? Is there a word that describes a person who dies on his/her birthdate? How to boot from a USB drive in VirtualBox? The question is simple and straight forward:  How to boot from an USB drive in VirtualBox?  EDIT:  I have attached usb to VirtualBox as shown in the screenshot.    But it is not possible to boot from an USB drive even when attached  .  So I would like to know if there is any other possiblity to boot from an USB drive? The probability $P(X=n)$ that an event X takes place $n$ times in a fixed period of time follows the Poisson distribution with parameter $\lambda$ i.e.  $$ P(X = n) = e^{-\lambda} \frac{\lambda ^ n}{n!}$$  I have to evaluate the probability that the event $X$ takes place an even number of times. I know that:   $$ P(X \text{ is even} ) = e^{-\lambda} \cdot \sum_{k=0}^{+\infty} \frac{\lambda^{2k}}{(2k)!}$$  but I can't solve the series.  I guess that I have to use the fact that $e^\lambda = \sum_{n = 0}^{+\infty} \lambda^n/n!$, but I got stuck.  How can I evaluate $P(X \text{ is even})$ (alternative solutions appreciated). Is there always an equilibrium point in space for gravity? For instance, for a two-body system, there will always be a point in-between the two in which the forces of gravity completely cancel, and if I were there then I would experience no net force. I believe there is also a point, or a region, for three body systems as well. Assuming we treat the stars or planets as simply point-masses, will there always be, for any number of objects, a point, or a region, of equilibrium? Or no? how can I open a extra console and run a program in it with one command? So I know if I type gnome-terminal or xterm, a new window will be popped out. Then I checked the man page for these two, nothing relevant found.  Then I noticed under Mac you can do it with the program open. But it seems under Linux it's not that trivial.  Does anyone have experience? Solve differential equation, $x'=x^2-2t^{-2}$ Solve differential equation:  $x'=x^2- \frac{2}{t^2}$  Maybe is it sth connected with homogeneous equation? I have no idea how to solve it. GPU Rendering causing strange lines When I render using my r9 390 graphics card, weird lines are appearing over the render. This problem has just started happening recently, as a few days ago I was rendering the same scene without the lines appearing. I don't believe I've changed any settings in Blender and the below scene is from a new file, so render settings should be default.   Rendering using my CPU is fine:   The only thing I can think that has changed is I recently updated my card to the latest drivers. Playing games with it is still fine and the card is quite new so I wouldn't think it's a problem with the card itself. When will my device get the Android 4.1 update (Jelly Bean)? Android 4.1 (Jelly Bean) was announced at Google I|O 2012 on June 27, 2012.  (You can review  at the official Android Developer's site.)  Of course, not all devices will get this update right away and others won't get it at all. Each manufacturer and carrier often choose to add their custom modifications which tend to delay the official release.  When will each device get Android 4.1, either officially or unofficially, if ever?  See also: Let $C_k$ be the set obtained in the $k-$th stage of building the Cantor set, where  $$C_1=[0,\frac{1}{3}]\cup[\frac{1}{3},\frac{2}{3}]$$  $$C_2=[0,\frac{1}{9}]\cup[\frac{2}{9},\frac{1}{3}]\cup[\frac{2}{3},\frac{7}{9}]\cup[\frac{8}{9},1]$$  $$\dots$$  So we have   $$C_k=\bigcup_{j=1}^{2^k}I_{k,j}$$  where $I_{k,j}$ are pairwise disjoint closed intervals of length $3^{-k}$ in $[0,1]$, let  $$[0,1]\setminus C_k=\bigcup_{j=1}^{2^k-1}J_{k,j}$$  where $J_{k,j}$ are pairwise disjoint open intervals and each $J_{k,j}$ are located between intervals $I_{k,j},I_{k,j+1}$  define  $$F_k:[0,1]\to[0,1]$$  where  $$F_k(0)=0,F_k(1)=1,F_k(x)=\frac{j}{2^k}\quad x\in J_{k,j}$$  and $F_k$ is linear on each subinterval of $C_k$. We can show that $F_k$ converges to the Cantor function $F:[0,1]\to[0,1]$. Moreover, it can be shown that  $$|F_k(x)-F_k(y)|\leq\frac{3^k}{2^k}|x-y|$$  How can we show that $F$ is Hölder continuous of order $\log_32$ ? How to invoke a system call via syscall or sysenter in inline assembly? Visual Studio Solutions Folder as real Folders I have a Visual Studio Solution. Currently, it is an empty solution (=no projects) and I have added a few solution folders.  Solution Folders only seem to be "virtual folders", because they are not really created in the Filesystem and files inside solution folders are just sitting in the same folder as the .sln file.  Is there a setting that i've overlooked that tells Visual Studio to treat Solution Folders as "real" folders, that is to create them in the file system and move files into it when I move them inside the solution into one of those folders?  Edit: Thanks. Going to make a suggestion for VS2010 then :) What cd/dvd burning software should I use? I have tried countless cd/dvd burning software on ubuntu 12.04 and none of them work for me,  any ideas guys?   I've tried tovidgui, bombono dvd,and mestelix, they are all so very confusing is there any program like dvdflick that is just straight to the point? I am trying to understand how complex numbers made their way into QM. Can we have a theory of the same physics without complex numbers? If so, is the theory using complex numbers easier? Convince grep to output all lines, not just those with matches Say I have the following file:  $ cat test  test line 1 test line 2 line without the search word another line without it test line 3 with two test words test line 4   By default, grep returns each line that contains the search term:  $ grep test test  test line 1 test line 2 test line 3 with two test words test line 4   Passing the --color parameter to grep will make it highlight the portion of the line that matches the search expression, but it still only returns lines that contain the expression. Is there a way to get grep to output every line in the source file, but highlight the matches?  My current terrible hack to accomplish this (at least on files that don't have 10000+ consecutive lines with no matches) is:  $ grep -B 9999 -A 9999 test test     If grep can't accomplish this, is there another command-line tool that offers the same functionality? I've fiddled with , but it doesn't seem to have an option for it either. How to make the term "page" show in the Glossary list? While finding escape velocity, does human mass counts as the mass of Earth? Escape velocity depends upon the mass of earth. my doubt is whether human mass adds into it or not? If it add then Earth's escape velocity would be increasing! How exactly are the beta and gamma distributions related? According to Wikipedia, the  is related to the gamma distribution by the following relation:  $$\lim_{n\to\infty}n B(k, n) = \Gamma(k, 1)$$  Can you point me to a derivation of this fact? Can it be generalized? For example, is there a similar relation that results in something other than a constant 1 for the Gamma second parameter? What if we have  $$\lim_{n\to\infty,m\to\infty,n=mb}n B(k, m) $$  That is, the two variables go to infinity while maintaining a constant ratio b.  The reason I'm asking is because I'm trying to figure out how to simplify a hieraerchical bayesian model involving the beta distribution.  (This is my first post; sorry for the math notation, the MathJaX syntax was too daunting, but I'll try to learn) What determines the direction of precession of a gyroscope? I understand how torque mathematically causes a change to the direction of angular momentum, thus precessing the .  However, the direction, either clockwise or counterclockwise, of this precession seems to me a bit arbitrary beyond mathematical definitions. (What if torque were defined by a "left hand rule", for example?).  What's the fundamental physical reason that the precession of a gyroscope would be directed in a certain direction?